Package com.google.cloud.gkehub.v1beta
Class UpdateFeatureRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UpdateFeatureRequest.Builder>
com.google.cloud.gkehub.v1beta.UpdateFeatureRequest.Builder
- All Implemented Interfaces:
UpdateFeatureRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- UpdateFeatureRequest
public static final class UpdateFeatureRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<UpdateFeatureRequest.Builder>
implements UpdateFeatureRequestOrBuilder
Request message for `GkeHub.UpdateFeature` method.Protobuf type
google.cloud.gkehub.v1beta.UpdateFeatureRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The Feature resource name in the format `projects/*/locations/*/features/*`.Optional.Only fields specified in update_mask are updated.Mask of fields to update.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetName()The Feature resource name in the format `projects/*/locations/*/features/*`.com.google.protobuf.ByteStringThe Feature resource name in the format `projects/*/locations/*/features/*`.Optional.com.google.protobuf.ByteStringOptional.Only fields specified in update_mask are updated.Only fields specified in update_mask are updated.Only fields specified in update_mask are updated.com.google.protobuf.FieldMaskMask of fields to update.com.google.protobuf.FieldMask.BuilderMask of fields to update.com.google.protobuf.FieldMaskOrBuilderMask of fields to update.booleanOnly fields specified in update_mask are updated.booleanMask of fields to update.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(UpdateFeatureRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeResource(Feature value) Only fields specified in update_mask are updated.mergeUpdateMask(com.google.protobuf.FieldMask value) Mask of fields to update.The Feature resource name in the format `projects/*/locations/*/features/*`.setNameBytes(com.google.protobuf.ByteString value) The Feature resource name in the format `projects/*/locations/*/features/*`.setRequestId(String value) Optional.setRequestIdBytes(com.google.protobuf.ByteString value) Optional.setResource(Feature value) Only fields specified in update_mask are updated.setResource(Feature.Builder builderForValue) Only fields specified in update_mask are updated.setUpdateMask(com.google.protobuf.FieldMask value) Mask of fields to update.setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) Mask of fields to update.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<UpdateFeatureRequest.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<UpdateFeatureRequest.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<UpdateFeatureRequest.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<UpdateFeatureRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<UpdateFeatureRequest.Builder>
-
mergeFrom
public UpdateFeatureRequest.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<UpdateFeatureRequest.Builder>- Throws:
IOException
-
getName
The Feature resource name in the format `projects/*/locations/*/features/*`.
string name = 1;- Specified by:
getNamein interfaceUpdateFeatureRequestOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The Feature resource name in the format `projects/*/locations/*/features/*`.
string name = 1;- Specified by:
getNameBytesin interfaceUpdateFeatureRequestOrBuilder- Returns:
- The bytes for name.
-
setName
The Feature resource name in the format `projects/*/locations/*/features/*`.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
The Feature resource name in the format `projects/*/locations/*/features/*`.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
The Feature resource name in the format `projects/*/locations/*/features/*`.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasUpdateMask
public boolean hasUpdateMask()Mask of fields to update.
.google.protobuf.FieldMask update_mask = 2;- Specified by:
hasUpdateMaskin interfaceUpdateFeatureRequestOrBuilder- Returns:
- Whether the updateMask field is set.
-
getUpdateMask
public com.google.protobuf.FieldMask getUpdateMask()Mask of fields to update.
.google.protobuf.FieldMask update_mask = 2;- Specified by:
getUpdateMaskin interfaceUpdateFeatureRequestOrBuilder- Returns:
- The updateMask.
-
setUpdateMask
Mask of fields to update.
.google.protobuf.FieldMask update_mask = 2; -
setUpdateMask
public UpdateFeatureRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) Mask of fields to update.
.google.protobuf.FieldMask update_mask = 2; -
mergeUpdateMask
Mask of fields to update.
.google.protobuf.FieldMask update_mask = 2; -
clearUpdateMask
Mask of fields to update.
.google.protobuf.FieldMask update_mask = 2; -
getUpdateMaskBuilder
public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()Mask of fields to update.
.google.protobuf.FieldMask update_mask = 2; -
getUpdateMaskOrBuilder
public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()Mask of fields to update.
.google.protobuf.FieldMask update_mask = 2;- Specified by:
getUpdateMaskOrBuilderin interfaceUpdateFeatureRequestOrBuilder
-
hasResource
public boolean hasResource()Only fields specified in update_mask are updated. If you specify a field in the update_mask but don't specify its value here that field will be deleted. If you are updating a map field, set the value of a key to null or empty string to delete the key from the map. It's not possible to update a key's value to the empty string. If you specify the update_mask to be a special path "*", fully replaces all user-modifiable fields to match `resource`.
.google.cloud.gkehub.v1beta.Feature resource = 3;- Specified by:
hasResourcein interfaceUpdateFeatureRequestOrBuilder- Returns:
- Whether the resource field is set.
-
getResource
Only fields specified in update_mask are updated. If you specify a field in the update_mask but don't specify its value here that field will be deleted. If you are updating a map field, set the value of a key to null or empty string to delete the key from the map. It's not possible to update a key's value to the empty string. If you specify the update_mask to be a special path "*", fully replaces all user-modifiable fields to match `resource`.
.google.cloud.gkehub.v1beta.Feature resource = 3;- Specified by:
getResourcein interfaceUpdateFeatureRequestOrBuilder- Returns:
- The resource.
-
setResource
Only fields specified in update_mask are updated. If you specify a field in the update_mask but don't specify its value here that field will be deleted. If you are updating a map field, set the value of a key to null or empty string to delete the key from the map. It's not possible to update a key's value to the empty string. If you specify the update_mask to be a special path "*", fully replaces all user-modifiable fields to match `resource`.
.google.cloud.gkehub.v1beta.Feature resource = 3; -
setResource
Only fields specified in update_mask are updated. If you specify a field in the update_mask but don't specify its value here that field will be deleted. If you are updating a map field, set the value of a key to null or empty string to delete the key from the map. It's not possible to update a key's value to the empty string. If you specify the update_mask to be a special path "*", fully replaces all user-modifiable fields to match `resource`.
.google.cloud.gkehub.v1beta.Feature resource = 3; -
mergeResource
Only fields specified in update_mask are updated. If you specify a field in the update_mask but don't specify its value here that field will be deleted. If you are updating a map field, set the value of a key to null or empty string to delete the key from the map. It's not possible to update a key's value to the empty string. If you specify the update_mask to be a special path "*", fully replaces all user-modifiable fields to match `resource`.
.google.cloud.gkehub.v1beta.Feature resource = 3; -
clearResource
Only fields specified in update_mask are updated. If you specify a field in the update_mask but don't specify its value here that field will be deleted. If you are updating a map field, set the value of a key to null or empty string to delete the key from the map. It's not possible to update a key's value to the empty string. If you specify the update_mask to be a special path "*", fully replaces all user-modifiable fields to match `resource`.
.google.cloud.gkehub.v1beta.Feature resource = 3; -
getResourceBuilder
Only fields specified in update_mask are updated. If you specify a field in the update_mask but don't specify its value here that field will be deleted. If you are updating a map field, set the value of a key to null or empty string to delete the key from the map. It's not possible to update a key's value to the empty string. If you specify the update_mask to be a special path "*", fully replaces all user-modifiable fields to match `resource`.
.google.cloud.gkehub.v1beta.Feature resource = 3; -
getResourceOrBuilder
Only fields specified in update_mask are updated. If you specify a field in the update_mask but don't specify its value here that field will be deleted. If you are updating a map field, set the value of a key to null or empty string to delete the key from the map. It's not possible to update a key's value to the empty string. If you specify the update_mask to be a special path "*", fully replaces all user-modifiable fields to match `resource`.
.google.cloud.gkehub.v1beta.Feature resource = 3;- Specified by:
getResourceOrBuilderin interfaceUpdateFeatureRequestOrBuilder
-
getRequestId
Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRequestIdin interfaceUpdateFeatureRequestOrBuilder- Returns:
- The requestId.
-
getRequestIdBytes
public com.google.protobuf.ByteString getRequestIdBytes()Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRequestIdBytesin interfaceUpdateFeatureRequestOrBuilder- Returns:
- The bytes for requestId.
-
setRequestId
Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The requestId to set.- Returns:
- This builder for chaining.
-
clearRequestId
Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setRequestIdBytes
Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for requestId to set.- Returns:
- This builder for chaining.
-