Class UpdateEndpointRequest.Builder (2.48.0)

public static final class UpdateEndpointRequest.Builder extends GeneratedMessageV3.Builder<UpdateEndpointRequest.Builder> implements UpdateEndpointRequestOrBuilder

The request message for RegistrationService.UpdateEndpoint.

Protobuf type google.cloud.servicedirectory.v1beta1.UpdateEndpointRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateEndpointRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateEndpointRequest.Builder
Overrides

build()

public UpdateEndpointRequest build()
Returns
Type Description
UpdateEndpointRequest

buildPartial()

public UpdateEndpointRequest buildPartial()
Returns
Type Description
UpdateEndpointRequest

clear()

public UpdateEndpointRequest.Builder clear()
Returns
Type Description
UpdateEndpointRequest.Builder
Overrides

clearEndpoint()

public UpdateEndpointRequest.Builder clearEndpoint()

Required. The updated endpoint.

.google.cloud.servicedirectory.v1beta1.Endpoint endpoint = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateEndpointRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateEndpointRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateEndpointRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateEndpointRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateEndpointRequest.Builder
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
Type Description
UpdateEndpointRequest.Builder

clone()

public UpdateEndpointRequest.Builder clone()
Returns
Type Description
UpdateEndpointRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateEndpointRequest getDefaultInstanceForType()
Returns
Type Description
UpdateEndpointRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEndpoint()

public Endpoint getEndpoint()

Required. The updated endpoint.

.google.cloud.servicedirectory.v1beta1.Endpoint endpoint = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Endpoint

The endpoint.

getEndpointBuilder()

public Endpoint.Builder getEndpointBuilder()

Required. The updated endpoint.

.google.cloud.servicedirectory.v1beta1.Endpoint endpoint = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Endpoint.Builder

getEndpointOrBuilder()

public EndpointOrBuilder getEndpointOrBuilder()

Required. The updated endpoint.

.google.cloud.servicedirectory.v1beta1.Endpoint endpoint = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EndpointOrBuilder

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
Type Description
FieldMask

The updateMask.

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
Type Description
Builder

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
Type Description
FieldMaskOrBuilder

hasEndpoint()

public boolean hasEndpoint()

Required. The updated endpoint.

.google.cloud.servicedirectory.v1beta1.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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEndpoint(Endpoint value)

public UpdateEndpointRequest.Builder mergeEndpoint(Endpoint value)

Required. The updated endpoint.

.google.cloud.servicedirectory.v1beta1.Endpoint endpoint = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Endpoint
Returns
Type Description
UpdateEndpointRequest.Builder

mergeFrom(UpdateEndpointRequest other)

public UpdateEndpointRequest.Builder mergeFrom(UpdateEndpointRequest other)
Parameter
Name Description
other UpdateEndpointRequest
Returns
Type Description
UpdateEndpointRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateEndpointRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateEndpointRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateEndpointRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateEndpointRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateEndpointRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateEndpointRequest.Builder
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
Name Description
value FieldMask
Returns
Type Description
UpdateEndpointRequest.Builder

setEndpoint(Endpoint value)

public UpdateEndpointRequest.Builder setEndpoint(Endpoint value)

Required. The updated endpoint.

.google.cloud.servicedirectory.v1beta1.Endpoint endpoint = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Endpoint
Returns
Type Description
UpdateEndpointRequest.Builder

setEndpoint(Endpoint.Builder builderForValue)

public UpdateEndpointRequest.Builder setEndpoint(Endpoint.Builder builderForValue)

Required. The updated endpoint.

.google.cloud.servicedirectory.v1beta1.Endpoint endpoint = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Endpoint.Builder
Returns
Type Description
UpdateEndpointRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateEndpointRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateEndpointRequest.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UpdateEndpointRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateEndpointRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateEndpointRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateEndpointRequest.Builder
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
Name Description
value FieldMask
Returns
Type Description
UpdateEndpointRequest.Builder

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
Type Description
UpdateEndpointRequest.Builder