public static final class UpdateEndpointRequest.Builder extends GeneratedMessageV3.Builder<UpdateEndpointRequest.Builder> implements UpdateEndpointRequestOrBuilder
The request message for
RegistrationService.UpdateEndpoint.
Protobuf type google.cloud.servicedirectory.v1.UpdateEndpointRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateEndpointRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateEndpointRequest build()
Returns
buildPartial()
public UpdateEndpointRequest buildPartial()
Returns
clear()
public UpdateEndpointRequest.Builder clear()
Returns
Overrides
clearEndpoint()
public UpdateEndpointRequest.Builder clearEndpoint()
Required. The updated endpoint.
.google.cloud.servicedirectory.v1.Endpoint endpoint = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clearField(Descriptors.FieldDescriptor field)
public UpdateEndpointRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateEndpointRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearUpdateMask()
public UpdateEndpointRequest.Builder clearUpdateMask()
Required. List of fields to be updated in this request.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clone()
public UpdateEndpointRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public UpdateEndpointRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getEndpoint()
public Endpoint getEndpoint()
Required. The updated endpoint.
.google.cloud.servicedirectory.v1.Endpoint endpoint = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getEndpointBuilder()
public Endpoint.Builder getEndpointBuilder()
Required. The updated endpoint.
.google.cloud.servicedirectory.v1.Endpoint endpoint = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getEndpointOrBuilder()
public EndpointOrBuilder getEndpointOrBuilder()
Required. The updated endpoint.
.google.cloud.servicedirectory.v1.Endpoint endpoint = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getUpdateMask()
public FieldMask getUpdateMask()
Required. List of fields to be updated in this request.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
Required. List of fields to be updated in this request.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Required. List of fields to be updated in this request.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
hasEndpoint()
public boolean hasEndpoint()
Required. The updated endpoint.
.google.cloud.servicedirectory.v1.Endpoint endpoint = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the endpoint field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
Required. List of fields to be updated in this request.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeEndpoint(Endpoint value)
public UpdateEndpointRequest.Builder mergeEndpoint(Endpoint value)
Required. The updated endpoint.
.google.cloud.servicedirectory.v1.Endpoint endpoint = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeFrom(UpdateEndpointRequest other)
public UpdateEndpointRequest.Builder mergeFrom(UpdateEndpointRequest other)
Parameter
Returns
public UpdateEndpointRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateEndpointRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateEndpointRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeUpdateMask(FieldMask value)
public UpdateEndpointRequest.Builder mergeUpdateMask(FieldMask value)
Required. List of fields to be updated in this request.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setEndpoint(Endpoint value)
public UpdateEndpointRequest.Builder setEndpoint(Endpoint value)
Required. The updated endpoint.
.google.cloud.servicedirectory.v1.Endpoint endpoint = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setEndpoint(Endpoint.Builder builderForValue)
public UpdateEndpointRequest.Builder setEndpoint(Endpoint.Builder builderForValue)
Required. The updated endpoint.
.google.cloud.servicedirectory.v1.Endpoint endpoint = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateEndpointRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateEndpointRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateEndpointRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setUpdateMask(FieldMask value)
public UpdateEndpointRequest.Builder setUpdateMask(FieldMask value)
Required. List of fields to be updated in this request.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateEndpointRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Required. List of fields to be updated in this request.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
builderForValue | Builder
|
Returns