Class SerializedProvider (0.3.0)

public final class SerializedProvider extends GeneratedMessage implements SerializedProviderOrBuilder

Represents a serialized Terraform provider configuration.

Protobuf type google.cloud.designcenter.v1.SerializedProvider

Static Fields

PARAMETERS_FIELD_NUMBER

public static final int PARAMETERS_FIELD_NUMBER
Field Value
Type Description
int

PROVIDER_ALIAS_FIELD_NUMBER

public static final int PROVIDER_ALIAS_FIELD_NUMBER
Field Value
Type Description
int

PROVIDER_FIELD_NUMBER

public static final int PROVIDER_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SerializedProvider getDefaultInstance()
Returns
Type Description
SerializedProvider

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static SerializedProvider.Builder newBuilder()
Returns
Type Description
SerializedProvider.Builder

newBuilder(SerializedProvider prototype)

public static SerializedProvider.Builder newBuilder(SerializedProvider prototype)
Parameter
Name Description
prototype SerializedProvider
Returns
Type Description
SerializedProvider.Builder

parseDelimitedFrom(InputStream input)

public static SerializedProvider parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SerializedProvider
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SerializedProvider parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SerializedProvider
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SerializedProvider parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SerializedProvider
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SerializedProvider parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SerializedProvider
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SerializedProvider parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SerializedProvider
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SerializedProvider parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SerializedProvider
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SerializedProvider parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SerializedProvider
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SerializedProvider parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SerializedProvider
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SerializedProvider parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SerializedProvider
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SerializedProvider parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SerializedProvider
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SerializedProvider parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SerializedProvider
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SerializedProvider parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SerializedProvider
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SerializedProvider> parser()
Returns
Type Description
Parser<SerializedProvider>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public SerializedProvider getDefaultInstanceForType()
Returns
Type Description
SerializedProvider

getParameters(int index)

public Parameter getParameters(int index)

Optional. Configuration parameters of the provider. Reuses the standard Parameter message.

repeated .google.cloud.designcenter.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Parameter

getParametersCount()

public int getParametersCount()

Optional. Configuration parameters of the provider. Reuses the standard Parameter message.

repeated .google.cloud.designcenter.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getParametersList()

public List<Parameter> getParametersList()

Optional. Configuration parameters of the provider. Reuses the standard Parameter message.

repeated .google.cloud.designcenter.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Parameter>

getParametersOrBuilder(int index)

public ParameterOrBuilder getParametersOrBuilder(int index)

Optional. Configuration parameters of the provider. Reuses the standard Parameter message.

repeated .google.cloud.designcenter.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ParameterOrBuilder

getParametersOrBuilderList()

public List<? extends ParameterOrBuilder> getParametersOrBuilderList()

Optional. Configuration parameters of the provider. Reuses the standard Parameter message.

repeated .google.cloud.designcenter.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.designcenter.v1.ParameterOrBuilder>

getParserForType()

public Parser<SerializedProvider> getParserForType()
Returns
Type Description
Parser<SerializedProvider>
Overrides

getProvider()

public String getProvider()

Required. Name of the provider (e.g., "google", "google-beta", "google-nightly").

string provider = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The provider.

getProviderAlias()

public String getProviderAlias()

Optional. Optional alias for the provider (supports multi-region setups).

string provider_alias = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The providerAlias.

getProviderAliasBytes()

public ByteString getProviderAliasBytes()

Optional. Optional alias for the provider (supports multi-region setups).

string provider_alias = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for providerAlias.

getProviderBytes()

public ByteString getProviderBytes()

Required. Name of the provider (e.g., "google", "google-beta", "google-nightly").

string provider = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for provider.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SerializedProvider.Builder newBuilderForType()
Returns
Type Description
SerializedProvider.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected SerializedProvider.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SerializedProvider.Builder
Overrides

toBuilder()

public SerializedProvider.Builder toBuilder()
Returns
Type Description
SerializedProvider.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException