Package com.google.cloud.functions.v1
Class OperationMetadataV1.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<OperationMetadataV1.Builder>
com.google.cloud.functions.v1.OperationMetadataV1.Builder
- All Implemented Interfaces:
OperationMetadataV1OrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- OperationMetadataV1
public static final class OperationMetadataV1.Builder
extends com.google.protobuf.GeneratedMessage.Builder<OperationMetadataV1.Builder>
implements OperationMetadataV1OrBuilder
Metadata describing an [Operation][google.longrunning.Operation]Protobuf type
google.cloud.functions.v1.OperationMetadataV1-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The Cloud Build ID of the function created or updated by an API call.The Cloud Build Name of the function deployment.The original request that started the operation.An identifier for Firebase function sources.Target of the operation - for example `projects/project-1/locations/region-1/functions/function-1`Type of operation.The last update timestamp of the operation.Version id of the function created or updated by an API call.The Cloud Build ID of the function created or updated by an API call.com.google.protobuf.ByteStringThe Cloud Build ID of the function created or updated by an API call.The Cloud Build Name of the function deployment.com.google.protobuf.ByteStringThe Cloud Build Name of the function deployment.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.AnyThe original request that started the operation.com.google.protobuf.Any.BuilderThe original request that started the operation.com.google.protobuf.AnyOrBuilderThe original request that started the operation.An identifier for Firebase function sources.com.google.protobuf.ByteStringAn identifier for Firebase function sources.Target of the operation - for example `projects/project-1/locations/region-1/functions/function-1`com.google.protobuf.ByteStringTarget of the operation - for example `projects/project-1/locations/region-1/functions/function-1`getType()Type of operation.intType of operation.com.google.protobuf.TimestampThe last update timestamp of the operation.com.google.protobuf.Timestamp.BuilderThe last update timestamp of the operation.com.google.protobuf.TimestampOrBuilderThe last update timestamp of the operation.longVersion id of the function created or updated by an API call.booleanThe original request that started the operation.booleanThe last update timestamp of the operation.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(OperationMetadataV1 other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeRequest(com.google.protobuf.Any value) The original request that started the operation.mergeUpdateTime(com.google.protobuf.Timestamp value) The last update timestamp of the operation.setBuildId(String value) The Cloud Build ID of the function created or updated by an API call.setBuildIdBytes(com.google.protobuf.ByteString value) The Cloud Build ID of the function created or updated by an API call.setBuildName(String value) The Cloud Build Name of the function deployment.setBuildNameBytes(com.google.protobuf.ByteString value) The Cloud Build Name of the function deployment.setRequest(com.google.protobuf.Any value) The original request that started the operation.setRequest(com.google.protobuf.Any.Builder builderForValue) The original request that started the operation.setSourceToken(String value) An identifier for Firebase function sources.setSourceTokenBytes(com.google.protobuf.ByteString value) An identifier for Firebase function sources.Target of the operation - for example `projects/project-1/locations/region-1/functions/function-1`setTargetBytes(com.google.protobuf.ByteString value) Target of the operation - for example `projects/project-1/locations/region-1/functions/function-1`setType(OperationType value) Type of operation.setTypeValue(int value) Type of operation.setUpdateTime(com.google.protobuf.Timestamp value) The last update timestamp of the operation.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) The last update timestamp of the operation.setVersionId(long value) Version id of the function created or updated by an API call.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<OperationMetadataV1.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<OperationMetadataV1.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<OperationMetadataV1.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OperationMetadataV1.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<OperationMetadataV1.Builder>
-
mergeFrom
public OperationMetadataV1.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OperationMetadataV1.Builder>- Throws:
IOException
-
getTarget
Target of the operation - for example `projects/project-1/locations/region-1/functions/function-1`
string target = 1;- Specified by:
getTargetin interfaceOperationMetadataV1OrBuilder- Returns:
- The target.
-
getTargetBytes
public com.google.protobuf.ByteString getTargetBytes()Target of the operation - for example `projects/project-1/locations/region-1/functions/function-1`
string target = 1;- Specified by:
getTargetBytesin interfaceOperationMetadataV1OrBuilder- Returns:
- The bytes for target.
-
setTarget
Target of the operation - for example `projects/project-1/locations/region-1/functions/function-1`
string target = 1;- Parameters:
value- The target to set.- Returns:
- This builder for chaining.
-
clearTarget
Target of the operation - for example `projects/project-1/locations/region-1/functions/function-1`
string target = 1;- Returns:
- This builder for chaining.
-
setTargetBytes
Target of the operation - for example `projects/project-1/locations/region-1/functions/function-1`
string target = 1;- Parameters:
value- The bytes for target to set.- Returns:
- This builder for chaining.
-
getTypeValue
public int getTypeValue()Type of operation.
.google.cloud.functions.v1.OperationType type = 2;- Specified by:
getTypeValuein interfaceOperationMetadataV1OrBuilder- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
Type of operation.
.google.cloud.functions.v1.OperationType type = 2;- Parameters:
value- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
getType
Type of operation.
.google.cloud.functions.v1.OperationType type = 2;- Specified by:
getTypein interfaceOperationMetadataV1OrBuilder- Returns:
- The type.
-
setType
Type of operation.
.google.cloud.functions.v1.OperationType type = 2;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
Type of operation.
.google.cloud.functions.v1.OperationType type = 2;- Returns:
- This builder for chaining.
-
hasRequest
public boolean hasRequest()The original request that started the operation.
.google.protobuf.Any request = 3;- Specified by:
hasRequestin interfaceOperationMetadataV1OrBuilder- Returns:
- Whether the request field is set.
-
getRequest
public com.google.protobuf.Any getRequest()The original request that started the operation.
.google.protobuf.Any request = 3;- Specified by:
getRequestin interfaceOperationMetadataV1OrBuilder- Returns:
- The request.
-
setRequest
The original request that started the operation.
.google.protobuf.Any request = 3; -
setRequest
The original request that started the operation.
.google.protobuf.Any request = 3; -
mergeRequest
The original request that started the operation.
.google.protobuf.Any request = 3; -
clearRequest
The original request that started the operation.
.google.protobuf.Any request = 3; -
getRequestBuilder
public com.google.protobuf.Any.Builder getRequestBuilder()The original request that started the operation.
.google.protobuf.Any request = 3; -
getRequestOrBuilder
public com.google.protobuf.AnyOrBuilder getRequestOrBuilder()The original request that started the operation.
.google.protobuf.Any request = 3;- Specified by:
getRequestOrBuilderin interfaceOperationMetadataV1OrBuilder
-
getVersionId
public long getVersionId()Version id of the function created or updated by an API call. This field is only populated for Create and Update operations.
int64 version_id = 4;- Specified by:
getVersionIdin interfaceOperationMetadataV1OrBuilder- Returns:
- The versionId.
-
setVersionId
Version id of the function created or updated by an API call. This field is only populated for Create and Update operations.
int64 version_id = 4;- Parameters:
value- The versionId to set.- Returns:
- This builder for chaining.
-
clearVersionId
Version id of the function created or updated by an API call. This field is only populated for Create and Update operations.
int64 version_id = 4;- Returns:
- This builder for chaining.
-
hasUpdateTime
public boolean hasUpdateTime()The last update timestamp of the operation.
.google.protobuf.Timestamp update_time = 5;- Specified by:
hasUpdateTimein interfaceOperationMetadataV1OrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()The last update timestamp of the operation.
.google.protobuf.Timestamp update_time = 5;- Specified by:
getUpdateTimein interfaceOperationMetadataV1OrBuilder- Returns:
- The updateTime.
-
setUpdateTime
The last update timestamp of the operation.
.google.protobuf.Timestamp update_time = 5; -
setUpdateTime
public OperationMetadataV1.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) The last update timestamp of the operation.
.google.protobuf.Timestamp update_time = 5; -
mergeUpdateTime
The last update timestamp of the operation.
.google.protobuf.Timestamp update_time = 5; -
clearUpdateTime
The last update timestamp of the operation.
.google.protobuf.Timestamp update_time = 5; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()The last update timestamp of the operation.
.google.protobuf.Timestamp update_time = 5; -
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()The last update timestamp of the operation.
.google.protobuf.Timestamp update_time = 5;- Specified by:
getUpdateTimeOrBuilderin interfaceOperationMetadataV1OrBuilder
-
getBuildId
The Cloud Build ID of the function created or updated by an API call. This field is only populated for Create and Update operations.
string build_id = 6;- Specified by:
getBuildIdin interfaceOperationMetadataV1OrBuilder- Returns:
- The buildId.
-
getBuildIdBytes
public com.google.protobuf.ByteString getBuildIdBytes()The Cloud Build ID of the function created or updated by an API call. This field is only populated for Create and Update operations.
string build_id = 6;- Specified by:
getBuildIdBytesin interfaceOperationMetadataV1OrBuilder- Returns:
- The bytes for buildId.
-
setBuildId
The Cloud Build ID of the function created or updated by an API call. This field is only populated for Create and Update operations.
string build_id = 6;- Parameters:
value- The buildId to set.- Returns:
- This builder for chaining.
-
clearBuildId
The Cloud Build ID of the function created or updated by an API call. This field is only populated for Create and Update operations.
string build_id = 6;- Returns:
- This builder for chaining.
-
setBuildIdBytes
The Cloud Build ID of the function created or updated by an API call. This field is only populated for Create and Update operations.
string build_id = 6;- Parameters:
value- The bytes for buildId to set.- Returns:
- This builder for chaining.
-
getSourceToken
An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.
string source_token = 7;- Specified by:
getSourceTokenin interfaceOperationMetadataV1OrBuilder- Returns:
- The sourceToken.
-
getSourceTokenBytes
public com.google.protobuf.ByteString getSourceTokenBytes()An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.
string source_token = 7;- Specified by:
getSourceTokenBytesin interfaceOperationMetadataV1OrBuilder- Returns:
- The bytes for sourceToken.
-
setSourceToken
An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.
string source_token = 7;- Parameters:
value- The sourceToken to set.- Returns:
- This builder for chaining.
-
clearSourceToken
An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.
string source_token = 7;- Returns:
- This builder for chaining.
-
setSourceTokenBytes
An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.
string source_token = 7;- Parameters:
value- The bytes for sourceToken to set.- Returns:
- This builder for chaining.
-
getBuildName
The Cloud Build Name of the function deployment. This field is only populated for Create and Update operations. `projects/<project-number>/locations/<region>/builds/<build-id>`.
string build_name = 8;- Specified by:
getBuildNamein interfaceOperationMetadataV1OrBuilder- Returns:
- The buildName.
-
getBuildNameBytes
public com.google.protobuf.ByteString getBuildNameBytes()The Cloud Build Name of the function deployment. This field is only populated for Create and Update operations. `projects/<project-number>/locations/<region>/builds/<build-id>`.
string build_name = 8;- Specified by:
getBuildNameBytesin interfaceOperationMetadataV1OrBuilder- Returns:
- The bytes for buildName.
-
setBuildName
The Cloud Build Name of the function deployment. This field is only populated for Create and Update operations. `projects/<project-number>/locations/<region>/builds/<build-id>`.
string build_name = 8;- Parameters:
value- The buildName to set.- Returns:
- This builder for chaining.
-
clearBuildName
The Cloud Build Name of the function deployment. This field is only populated for Create and Update operations. `projects/<project-number>/locations/<region>/builds/<build-id>`.
string build_name = 8;- Returns:
- This builder for chaining.
-
setBuildNameBytes
The Cloud Build Name of the function deployment. This field is only populated for Create and Update operations. `projects/<project-number>/locations/<region>/builds/<build-id>`.
string build_name = 8;- Parameters:
value- The bytes for buildName to set.- Returns:
- This builder for chaining.
-