Class RegisterAppHubApplicationResourcesRequest (0.3.0)

public final class RegisterAppHubApplicationResourcesRequest extends GeneratedMessage implements RegisterAppHubApplicationResourcesRequestOrBuilder

Request message for RegisterAppHubApplicationResources method.

Protobuf type google.cloud.designcenter.v1.RegisterAppHubApplicationResourcesRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > RegisterAppHubApplicationResourcesRequest

Static Fields

APPHUB_APPLICATION_FIELD_NUMBER

public static final int APPHUB_APPLICATION_FIELD_NUMBER
Field Value
Type Description
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
Type Description
int

TFSTATE_CONTENT_FIELD_NUMBER

public static final int TFSTATE_CONTENT_FIELD_NUMBER
Field Value
Type Description
int

TFSTATE_SIGNED_GCS_URI_FIELD_NUMBER

public static final int TFSTATE_SIGNED_GCS_URI_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RegisterAppHubApplicationResourcesRequest getDefaultInstance()
Returns
Type Description
RegisterAppHubApplicationResourcesRequest

getDescriptor()

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

newBuilder()

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

newBuilder(RegisterAppHubApplicationResourcesRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getApphubApplication()

public String getApphubApplication()

Required. The name of the AppHub Application. Format: projects/{project}/locations/{location}/applications/{application}

string apphub_application = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The apphubApplication.

getApphubApplicationBytes()

public ByteString getApphubApplicationBytes()

Required. The name of the AppHub Application. Format: projects/{project}/locations/{location}/applications/{application}

string apphub_application = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for apphubApplication.

getDefaultInstanceForType()

public RegisterAppHubApplicationResourcesRequest getDefaultInstanceForType()
Returns
Type Description
RegisterAppHubApplicationResourcesRequest

getParent()

public String getParent()

Required. The parent location. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent location. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTfstateContent()

public String getTfstateContent()

Optional. The Terraform state (tfstate) content as a raw string. For large state files exceeding 10MB, use the 'tfstate_signed_gcs_uri' field instead.

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

Returns
Type Description
String

The tfstateContent.

getTfstateContentBytes()

public ByteString getTfstateContentBytes()

Optional. The Terraform state (tfstate) content as a raw string. For large state files exceeding 10MB, use the 'tfstate_signed_gcs_uri' field instead.

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

Returns
Type Description
ByteString

The bytes for tfstateContent.

getTfstateSignedGcsUri()

public String getTfstateSignedGcsUri()

Optional. A securely signed Cloud Storage URI pointing to the tfstate file. The URI must be signed to grant the service temporary read access to the state file. Application Design Center imposes a limit on the maximum size of the state file accessed via this URI.

string tfstate_signed_gcs_uri = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The tfstateSignedGcsUri.

getTfstateSignedGcsUriBytes()

public ByteString getTfstateSignedGcsUriBytes()

Optional. A securely signed Cloud Storage URI pointing to the tfstate file. The URI must be signed to grant the service temporary read access to the state file. Application Design Center imposes a limit on the maximum size of the state file accessed via this URI.

string tfstate_signed_gcs_uri = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for tfstateSignedGcsUri.

getTfstateSourceCase()

public RegisterAppHubApplicationResourcesRequest.TfstateSourceCase getTfstateSourceCase()
Returns
Type Description
RegisterAppHubApplicationResourcesRequest.TfstateSourceCase

hasTfstateContent()

public boolean hasTfstateContent()

Optional. The Terraform state (tfstate) content as a raw string. For large state files exceeding 10MB, use the 'tfstate_signed_gcs_uri' field instead.

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

Returns
Type Description
boolean

Whether the tfstateContent field is set.

hasTfstateSignedGcsUri()

public boolean hasTfstateSignedGcsUri()

Optional. A securely signed Cloud Storage URI pointing to the tfstate file. The URI must be signed to grant the service temporary read access to the state file. Application Design Center imposes a limit on the maximum size of the state file accessed via this URI.

string tfstate_signed_gcs_uri = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the tfstateSignedGcsUri field is set.

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 RegisterAppHubApplicationResourcesRequest.Builder newBuilderForType()
Returns
Type Description
RegisterAppHubApplicationResourcesRequest.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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