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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<UpdateFeatureRequest.Builder> implements UpdateFeatureRequestOrBuilder
Request message for `GkeHub.UpdateFeature` method.
Protobuf typegoogle.cloud.gkehub.v1beta.UpdateFeatureRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateFeatureRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
UpdateFeatureRequest
build()
UpdateFeatureRequest
buildPartial()
UpdateFeatureRequest.Builder
clear()
UpdateFeatureRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
UpdateFeatureRequest.Builder
clearName()
The Feature resource name in the format `projects/*/locations/*/features/*`.UpdateFeatureRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
UpdateFeatureRequest.Builder
clearRequestId()
Optional.UpdateFeatureRequest.Builder
clearResource()
Only fields specified in update_mask are updated.UpdateFeatureRequest.Builder
clearUpdateMask()
Mask of fields to update.UpdateFeatureRequest.Builder
clone()
UpdateFeatureRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getName()
The Feature resource name in the format `projects/*/locations/*/features/*`.com.google.protobuf.ByteString
getNameBytes()
The Feature resource name in the format `projects/*/locations/*/features/*`.String
getRequestId()
Optional.com.google.protobuf.ByteString
getRequestIdBytes()
Optional.Feature
getResource()
Only fields specified in update_mask are updated.Feature.Builder
getResourceBuilder()
Only fields specified in update_mask are updated.FeatureOrBuilder
getResourceOrBuilder()
Only fields specified in update_mask are updated.com.google.protobuf.FieldMask
getUpdateMask()
Mask of fields to update.com.google.protobuf.FieldMask.Builder
getUpdateMaskBuilder()
Mask of fields to update.com.google.protobuf.FieldMaskOrBuilder
getUpdateMaskOrBuilder()
Mask of fields to update.boolean
hasResource()
Only fields specified in update_mask are updated.boolean
hasUpdateMask()
Mask of fields to update.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
UpdateFeatureRequest.Builder
mergeFrom(UpdateFeatureRequest other)
UpdateFeatureRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
UpdateFeatureRequest.Builder
mergeFrom(com.google.protobuf.Message other)
UpdateFeatureRequest.Builder
mergeResource(Feature value)
Only fields specified in update_mask are updated.UpdateFeatureRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
UpdateFeatureRequest.Builder
mergeUpdateMask(com.google.protobuf.FieldMask value)
Mask of fields to update.UpdateFeatureRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
UpdateFeatureRequest.Builder
setName(String value)
The Feature resource name in the format `projects/*/locations/*/features/*`.UpdateFeatureRequest.Builder
setNameBytes(com.google.protobuf.ByteString value)
The Feature resource name in the format `projects/*/locations/*/features/*`.UpdateFeatureRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
UpdateFeatureRequest.Builder
setRequestId(String value)
Optional.UpdateFeatureRequest.Builder
setRequestIdBytes(com.google.protobuf.ByteString value)
Optional.UpdateFeatureRequest.Builder
setResource(Feature value)
Only fields specified in update_mask are updated.UpdateFeatureRequest.Builder
setResource(Feature.Builder builderForValue)
Only fields specified in update_mask are updated.UpdateFeatureRequest.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
UpdateFeatureRequest.Builder
setUpdateMask(com.google.protobuf.FieldMask value)
Mask of fields to update.UpdateFeatureRequest.Builder
setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
Mask of fields to update.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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.Builder<UpdateFeatureRequest.Builder>
-
clear
public UpdateFeatureRequest.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateFeatureRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateFeatureRequest.Builder>
-
getDefaultInstanceForType
public UpdateFeatureRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public UpdateFeatureRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public UpdateFeatureRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public UpdateFeatureRequest.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateFeatureRequest.Builder>
-
setField
public UpdateFeatureRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateFeatureRequest.Builder>
-
clearField
public UpdateFeatureRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateFeatureRequest.Builder>
-
clearOneof
public UpdateFeatureRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateFeatureRequest.Builder>
-
setRepeatedField
public UpdateFeatureRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateFeatureRequest.Builder>
-
addRepeatedField
public UpdateFeatureRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateFeatureRequest.Builder>
-
mergeFrom
public UpdateFeatureRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<UpdateFeatureRequest.Builder>
-
mergeFrom
public UpdateFeatureRequest.Builder mergeFrom(UpdateFeatureRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateFeatureRequest.Builder>
-
mergeFrom
public UpdateFeatureRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<UpdateFeatureRequest.Builder>
- Throws:
IOException
-
getName
public String getName()
The Feature resource name in the format `projects/*/locations/*/features/*`.
string name = 1;
- Specified by:
getName
in 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:
getNameBytes
in interfaceUpdateFeatureRequestOrBuilder
- Returns:
- The bytes for name.
-
setName
public UpdateFeatureRequest.Builder setName(String value)
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
public UpdateFeatureRequest.Builder clearName()
The Feature resource name in the format `projects/*/locations/*/features/*`.
string name = 1;
- Returns:
- This builder for chaining.
-
setNameBytes
public UpdateFeatureRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
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:
hasUpdateMask
in 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:
getUpdateMask
in interfaceUpdateFeatureRequestOrBuilder
- Returns:
- The updateMask.
-
setUpdateMask
public UpdateFeatureRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
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
public UpdateFeatureRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
Mask of fields to update.
.google.protobuf.FieldMask update_mask = 2;
-
clearUpdateMask
public UpdateFeatureRequest.Builder 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:
getUpdateMaskOrBuilder
in 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:
hasResource
in interfaceUpdateFeatureRequestOrBuilder
- Returns:
- Whether the resource field is set.
-
getResource
public Feature 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:
getResource
in interfaceUpdateFeatureRequestOrBuilder
- Returns:
- The resource.
-
setResource
public UpdateFeatureRequest.Builder setResource(Feature value)
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
public UpdateFeatureRequest.Builder setResource(Feature.Builder builderForValue)
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
public UpdateFeatureRequest.Builder mergeResource(Feature value)
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
public UpdateFeatureRequest.Builder 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
public Feature.Builder 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
public FeatureOrBuilder 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:
getResourceOrBuilder
in interfaceUpdateFeatureRequestOrBuilder
-
getRequestId
public String 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:
getRequestId
in 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:
getRequestIdBytes
in interfaceUpdateFeatureRequestOrBuilder
- Returns:
- The bytes for requestId.
-
setRequestId
public UpdateFeatureRequest.Builder setRequestId(String value)
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
public UpdateFeatureRequest.Builder 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
public UpdateFeatureRequest.Builder setRequestIdBytes(com.google.protobuf.ByteString value)
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.
-
setUnknownFields
public final UpdateFeatureRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateFeatureRequest.Builder>
-
mergeUnknownFields
public final UpdateFeatureRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateFeatureRequest.Builder>
-
-