Package com.google.cloud.config.v1
Class Revision
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.config.v1.Revision
-
- All Implemented Interfaces:
RevisionOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class Revision extends com.google.protobuf.GeneratedMessageV3 implements RevisionOrBuilder
A child resource of a Deployment generated by a 'CreateDeployment' or 'UpdateDeployment' call. Each Revision contains metadata pertaining to a snapshot of a particular Deployment.
Protobuf typegoogle.cloud.config.v1.Revision
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Revision.Action
Actions that generate a revision.static class
Revision.BlueprintCase
static class
Revision.Builder
A child resource of a Deployment generated by a 'CreateDeployment' or 'UpdateDeployment' call.static class
Revision.ErrorCode
Possible errors if Revision could not be created or updated successfully.static class
Revision.State
Possible states of a revision.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
ACTION_FIELD_NUMBER
static int
APPLY_RESULTS_FIELD_NUMBER
static int
BUILD_FIELD_NUMBER
static int
CREATE_TIME_FIELD_NUMBER
static int
ERROR_CODE_FIELD_NUMBER
static int
ERROR_LOGS_FIELD_NUMBER
static int
IMPORT_EXISTING_RESOURCES_FIELD_NUMBER
static int
LOGS_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
SERVICE_ACCOUNT_FIELD_NUMBER
static int
STATE_DETAIL_FIELD_NUMBER
static int
STATE_FIELD_NUMBER
static int
TERRAFORM_BLUEPRINT_FIELD_NUMBER
static int
TF_ERRORS_FIELD_NUMBER
static int
UPDATE_TIME_FIELD_NUMBER
static int
WORKER_POOL_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Revision.Action
getAction()
Output only.int
getActionValue()
Output only.ApplyResults
getApplyResults()
Output only.ApplyResultsOrBuilder
getApplyResultsOrBuilder()
Output only.Revision.BlueprintCase
getBlueprintCase()
String
getBuild()
Output only.com.google.protobuf.ByteString
getBuildBytes()
Output only.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.static Revision
getDefaultInstance()
Revision
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
Revision.ErrorCode
getErrorCode()
Output only.int
getErrorCodeValue()
Output only.String
getErrorLogs()
Output only.com.google.protobuf.ByteString
getErrorLogsBytes()
Output only.boolean
getImportExistingResources()
Output only.String
getLogs()
Output only.com.google.protobuf.ByteString
getLogsBytes()
Output only.String
getName()
Revision name.com.google.protobuf.ByteString
getNameBytes()
Revision name.com.google.protobuf.Parser<Revision>
getParserForType()
int
getSerializedSize()
String
getServiceAccount()
Output only.com.google.protobuf.ByteString
getServiceAccountBytes()
Output only.Revision.State
getState()
Output only.String
getStateDetail()
Output only.com.google.protobuf.ByteString
getStateDetailBytes()
Output only.int
getStateValue()
Output only.TerraformBlueprint
getTerraformBlueprint()
Output only.TerraformBlueprintOrBuilder
getTerraformBlueprintOrBuilder()
Output only.TerraformError
getTfErrors(int index)
Output only.int
getTfErrorsCount()
Output only.List<TerraformError>
getTfErrorsList()
Output only.TerraformErrorOrBuilder
getTfErrorsOrBuilder(int index)
Output only.List<? extends TerraformErrorOrBuilder>
getTfErrorsOrBuilderList()
Output only.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.String
getWorkerPool()
Output only.com.google.protobuf.ByteString
getWorkerPoolBytes()
Output only.boolean
hasApplyResults()
Output only.boolean
hasCreateTime()
Output only.int
hashCode()
boolean
hasTerraformBlueprint()
Output only.boolean
hasUpdateTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static Revision.Builder
newBuilder()
static Revision.Builder
newBuilder(Revision prototype)
Revision.Builder
newBuilderForType()
protected Revision.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Revision
parseDelimitedFrom(InputStream input)
static Revision
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Revision
parseFrom(byte[] data)
static Revision
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Revision
parseFrom(com.google.protobuf.ByteString data)
static Revision
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Revision
parseFrom(com.google.protobuf.CodedInputStream input)
static Revision
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Revision
parseFrom(InputStream input)
static Revision
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Revision
parseFrom(ByteBuffer data)
static Revision
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Revision>
parser()
Revision.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
TERRAFORM_BLUEPRINT_FIELD_NUMBER
public static final int TERRAFORM_BLUEPRINT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACTION_FIELD_NUMBER
public static final int ACTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
APPLY_RESULTS_FIELD_NUMBER
public static final int APPLY_RESULTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_DETAIL_FIELD_NUMBER
public static final int STATE_DETAIL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ERROR_CODE_FIELD_NUMBER
public static final int ERROR_CODE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BUILD_FIELD_NUMBER
public static final int BUILD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOGS_FIELD_NUMBER
public static final int LOGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TF_ERRORS_FIELD_NUMBER
public static final int TF_ERRORS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ERROR_LOGS_FIELD_NUMBER
public static final int ERROR_LOGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SERVICE_ACCOUNT_FIELD_NUMBER
public static final int SERVICE_ACCOUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IMPORT_EXISTING_RESOURCES_FIELD_NUMBER
public static final int IMPORT_EXISTING_RESOURCES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WORKER_POOL_FIELD_NUMBER
public static final int WORKER_POOL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getBlueprintCase
public Revision.BlueprintCase getBlueprintCase()
- Specified by:
getBlueprintCase
in interfaceRevisionOrBuilder
-
hasTerraformBlueprint
public boolean hasTerraformBlueprint()
Output only. A blueprint described using Terraform's HashiCorp Configuration Language as a root module.
.google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasTerraformBlueprint
in interfaceRevisionOrBuilder
- Returns:
- Whether the terraformBlueprint field is set.
-
getTerraformBlueprint
public TerraformBlueprint getTerraformBlueprint()
Output only. A blueprint described using Terraform's HashiCorp Configuration Language as a root module.
.google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getTerraformBlueprint
in interfaceRevisionOrBuilder
- Returns:
- The terraformBlueprint.
-
getTerraformBlueprintOrBuilder
public TerraformBlueprintOrBuilder getTerraformBlueprintOrBuilder()
Output only. A blueprint described using Terraform's HashiCorp Configuration Language as a root module.
.google.cloud.config.v1.TerraformBlueprint terraform_blueprint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getTerraformBlueprintOrBuilder
in interfaceRevisionOrBuilder
-
getName
public String getName()
Revision name. Format: `projects/{project}/locations/{location}/deployments/{deployment}/ revisions/{revision}`
string name = 1;
- Specified by:
getName
in interfaceRevisionOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Revision name. Format: `projects/{project}/locations/{location}/deployments/{deployment}/ revisions/{revision}`
string name = 1;
- Specified by:
getNameBytes
in interfaceRevisionOrBuilder
- Returns:
- The bytes for name.
-
hasCreateTime
public boolean hasCreateTime()
Output only. Time when the revision was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasCreateTime
in interfaceRevisionOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. Time when the revision was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTime
in interfaceRevisionOrBuilder
- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Time when the revision was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTimeOrBuilder
in interfaceRevisionOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. Time when the revision was last modified.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasUpdateTime
in interfaceRevisionOrBuilder
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. Time when the revision was last modified.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTime
in interfaceRevisionOrBuilder
- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Time when the revision was last modified.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTimeOrBuilder
in interfaceRevisionOrBuilder
-
getActionValue
public int getActionValue()
Output only. The action which created this revision
.google.cloud.config.v1.Revision.Action action = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getActionValue
in interfaceRevisionOrBuilder
- Returns:
- The enum numeric value on the wire for action.
-
getAction
public Revision.Action getAction()
Output only. The action which created this revision
.google.cloud.config.v1.Revision.Action action = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getAction
in interfaceRevisionOrBuilder
- Returns:
- The action.
-
getStateValue
public int getStateValue()
Output only. Current state of the revision.
.google.cloud.config.v1.Revision.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStateValue
in interfaceRevisionOrBuilder
- Returns:
- The enum numeric value on the wire for state.
-
getState
public Revision.State getState()
Output only. Current state of the revision.
.google.cloud.config.v1.Revision.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getState
in interfaceRevisionOrBuilder
- Returns:
- The state.
-
hasApplyResults
public boolean hasApplyResults()
Output only. Outputs and artifacts from applying a deployment.
.google.cloud.config.v1.ApplyResults apply_results = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasApplyResults
in interfaceRevisionOrBuilder
- Returns:
- Whether the applyResults field is set.
-
getApplyResults
public ApplyResults getApplyResults()
Output only. Outputs and artifacts from applying a deployment.
.google.cloud.config.v1.ApplyResults apply_results = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getApplyResults
in interfaceRevisionOrBuilder
- Returns:
- The applyResults.
-
getApplyResultsOrBuilder
public ApplyResultsOrBuilder getApplyResultsOrBuilder()
Output only. Outputs and artifacts from applying a deployment.
.google.cloud.config.v1.ApplyResults apply_results = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getApplyResultsOrBuilder
in interfaceRevisionOrBuilder
-
getStateDetail
public String getStateDetail()
Output only. Additional info regarding the current state.
string state_detail = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStateDetail
in interfaceRevisionOrBuilder
- Returns:
- The stateDetail.
-
getStateDetailBytes
public com.google.protobuf.ByteString getStateDetailBytes()
Output only. Additional info regarding the current state.
string state_detail = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStateDetailBytes
in interfaceRevisionOrBuilder
- Returns:
- The bytes for stateDetail.
-
getErrorCodeValue
public int getErrorCodeValue()
Output only. Code describing any errors that may have occurred.
.google.cloud.config.v1.Revision.ErrorCode error_code = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getErrorCodeValue
in interfaceRevisionOrBuilder
- Returns:
- The enum numeric value on the wire for errorCode.
-
getErrorCode
public Revision.ErrorCode getErrorCode()
Output only. Code describing any errors that may have occurred.
.google.cloud.config.v1.Revision.ErrorCode error_code = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getErrorCode
in interfaceRevisionOrBuilder
- Returns:
- The errorCode.
-
getBuild
public String getBuild()
Output only. Cloud Build instance UUID associated with this revision.
string build = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getBuild
in interfaceRevisionOrBuilder
- Returns:
- The build.
-
getBuildBytes
public com.google.protobuf.ByteString getBuildBytes()
Output only. Cloud Build instance UUID associated with this revision.
string build = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getBuildBytes
in interfaceRevisionOrBuilder
- Returns:
- The bytes for build.
-
getLogs
public String getLogs()
Output only. Location of Revision operation logs in `gs://{bucket}/{object}` format.
string logs = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getLogs
in interfaceRevisionOrBuilder
- Returns:
- The logs.
-
getLogsBytes
public com.google.protobuf.ByteString getLogsBytes()
Output only. Location of Revision operation logs in `gs://{bucket}/{object}` format.
string logs = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getLogsBytes
in interfaceRevisionOrBuilder
- Returns:
- The bytes for logs.
-
getTfErrorsList
public List<TerraformError> getTfErrorsList()
Output only. Errors encountered when creating or updating this deployment. Errors are truncated to 10 entries, see `delete_results` and `error_logs` for full details.
repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getTfErrorsList
in interfaceRevisionOrBuilder
-
getTfErrorsOrBuilderList
public List<? extends TerraformErrorOrBuilder> getTfErrorsOrBuilderList()
Output only. Errors encountered when creating or updating this deployment. Errors are truncated to 10 entries, see `delete_results` and `error_logs` for full details.
repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getTfErrorsOrBuilderList
in interfaceRevisionOrBuilder
-
getTfErrorsCount
public int getTfErrorsCount()
Output only. Errors encountered when creating or updating this deployment. Errors are truncated to 10 entries, see `delete_results` and `error_logs` for full details.
repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getTfErrorsCount
in interfaceRevisionOrBuilder
-
getTfErrors
public TerraformError getTfErrors(int index)
Output only. Errors encountered when creating or updating this deployment. Errors are truncated to 10 entries, see `delete_results` and `error_logs` for full details.
repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getTfErrors
in interfaceRevisionOrBuilder
-
getTfErrorsOrBuilder
public TerraformErrorOrBuilder getTfErrorsOrBuilder(int index)
Output only. Errors encountered when creating or updating this deployment. Errors are truncated to 10 entries, see `delete_results` and `error_logs` for full details.
repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getTfErrorsOrBuilder
in interfaceRevisionOrBuilder
-
getErrorLogs
public String getErrorLogs()
Output only. Location of Terraform error logs in Google Cloud Storage. Format: `gs://{bucket}/{object}`.
string error_logs = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getErrorLogs
in interfaceRevisionOrBuilder
- Returns:
- The errorLogs.
-
getErrorLogsBytes
public com.google.protobuf.ByteString getErrorLogsBytes()
Output only. Location of Terraform error logs in Google Cloud Storage. Format: `gs://{bucket}/{object}`.
string error_logs = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getErrorLogsBytes
in interfaceRevisionOrBuilder
- Returns:
- The bytes for errorLogs.
-
getServiceAccount
public String getServiceAccount()
Output only. User-specified Service Account (SA) to be used as credential to manage resources. Format: `projects/{projectID}/serviceAccounts/{serviceAccount}`
string service_account = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Specified by:
getServiceAccount
in interfaceRevisionOrBuilder
- Returns:
- The serviceAccount.
-
getServiceAccountBytes
public com.google.protobuf.ByteString getServiceAccountBytes()
Output only. User-specified Service Account (SA) to be used as credential to manage resources. Format: `projects/{projectID}/serviceAccounts/{serviceAccount}`
string service_account = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Specified by:
getServiceAccountBytes
in interfaceRevisionOrBuilder
- Returns:
- The bytes for serviceAccount.
-
getImportExistingResources
public boolean getImportExistingResources()
Output only. By default, Infra Manager will return a failure when Terraform encounters a 409 code (resource conflict error) during actuation. If this flag is set to true, Infra Manager will instead attempt to automatically import the resource into the Terraform state (for supported resource types) and continue actuation. Not all resource types are supported, refer to documentation.
bool import_existing_resources = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getImportExistingResources
in interfaceRevisionOrBuilder
- Returns:
- The importExistingResources.
-
getWorkerPool
public String getWorkerPool()
Output only. The user-specified Cloud Build worker pool resource in which the Cloud Build job will execute. Format: `projects/{project}/locations/{location}/workerPools/{workerPoolId}`. If this field is unspecified, the default Cloud Build worker pool will be used.
string worker_pool = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Specified by:
getWorkerPool
in interfaceRevisionOrBuilder
- Returns:
- The workerPool.
-
getWorkerPoolBytes
public com.google.protobuf.ByteString getWorkerPoolBytes()
Output only. The user-specified Cloud Build worker pool resource in which the Cloud Build job will execute. Format: `projects/{project}/locations/{location}/workerPools/{workerPoolId}`. If this field is unspecified, the default Cloud Build worker pool will be used.
string worker_pool = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Specified by:
getWorkerPoolBytes
in interfaceRevisionOrBuilder
- Returns:
- The bytes for workerPool.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Revision parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Revision parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Revision parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Revision parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Revision parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Revision parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Revision parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Revision parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Revision parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Revision parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Revision parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Revision parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Revision.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Revision.Builder newBuilder()
-
newBuilder
public static Revision.Builder newBuilder(Revision prototype)
-
toBuilder
public Revision.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Revision.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Revision getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Revision> parser()
-
getParserForType
public com.google.protobuf.Parser<Revision> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Revision getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-