Class UpdateDomainRequest.Builder (1.16.0)

public static final class UpdateDomainRequest.Builder extends GeneratedMessageV3.Builder<UpdateDomainRequest.Builder> implements UpdateDomainRequestOrBuilder

Request message for UpdateDomain

Protobuf type google.cloud.managedidentities.v1.UpdateDomainRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateDomainRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateDomainRequest.Builder
Overrides

build()

public UpdateDomainRequest build()
Returns
TypeDescription
UpdateDomainRequest

buildPartial()

public UpdateDomainRequest buildPartial()
Returns
TypeDescription
UpdateDomainRequest

clear()

public UpdateDomainRequest.Builder clear()
Returns
TypeDescription
UpdateDomainRequest.Builder
Overrides

clearDomain()

public UpdateDomainRequest.Builder clearDomain()

Required. Domain message with updated fields. Only supported fields specified in update_mask are updated.

.google.cloud.managedidentities.v1.Domain domain = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateDomainRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateDomainRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UpdateDomainRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateDomainRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
UpdateDomainRequest.Builder
Overrides

clearUpdateMask()

public UpdateDomainRequest.Builder clearUpdateMask()

Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field may only include fields from Domain:

  • labels
  • locations
  • authorized_networks

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateDomainRequest.Builder

clone()

public UpdateDomainRequest.Builder clone()
Returns
TypeDescription
UpdateDomainRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateDomainRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateDomainRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDomain()

public Domain getDomain()

Required. Domain message with updated fields. Only supported fields specified in update_mask are updated.

.google.cloud.managedidentities.v1.Domain domain = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Domain

The domain.

getDomainBuilder()

public Domain.Builder getDomainBuilder()

Required. Domain message with updated fields. Only supported fields specified in update_mask are updated.

.google.cloud.managedidentities.v1.Domain domain = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Domain.Builder

getDomainOrBuilder()

public DomainOrBuilder getDomainOrBuilder()

Required. Domain message with updated fields. Only supported fields specified in update_mask are updated.

.google.cloud.managedidentities.v1.Domain domain = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
DomainOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field may only include fields from Domain:

  • labels
  • locations
  • authorized_networks

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field may only include fields from Domain:

  • labels
  • locations
  • authorized_networks

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field may only include fields from Domain:

  • labels
  • locations
  • authorized_networks

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FieldMaskOrBuilder

hasDomain()

public boolean hasDomain()

Required. Domain message with updated fields. Only supported fields specified in update_mask are updated.

.google.cloud.managedidentities.v1.Domain domain = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the domain field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field may only include fields from Domain:

  • labels
  • locations
  • authorized_networks

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeDomain(Domain value)

public UpdateDomainRequest.Builder mergeDomain(Domain value)

Required. Domain message with updated fields. Only supported fields specified in update_mask are updated.

.google.cloud.managedidentities.v1.Domain domain = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueDomain
Returns
TypeDescription
UpdateDomainRequest.Builder

mergeFrom(UpdateDomainRequest other)

public UpdateDomainRequest.Builder mergeFrom(UpdateDomainRequest other)
Parameter
NameDescription
otherUpdateDomainRequest
Returns
TypeDescription
UpdateDomainRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateDomainRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateDomainRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UpdateDomainRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UpdateDomainRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateDomainRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateDomainRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateDomainRequest.Builder mergeUpdateMask(FieldMask value)

Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field may only include fields from Domain:

  • labels
  • locations
  • authorized_networks

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateDomainRequest.Builder

setDomain(Domain value)

public UpdateDomainRequest.Builder setDomain(Domain value)

Required. Domain message with updated fields. Only supported fields specified in update_mask are updated.

.google.cloud.managedidentities.v1.Domain domain = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueDomain
Returns
TypeDescription
UpdateDomainRequest.Builder

setDomain(Domain.Builder builderForValue)

public UpdateDomainRequest.Builder setDomain(Domain.Builder builderForValue)

Required. Domain message with updated fields. Only supported fields specified in update_mask are updated.

.google.cloud.managedidentities.v1.Domain domain = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueDomain.Builder
Returns
TypeDescription
UpdateDomainRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateDomainRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateDomainRequest.Builder
Overrides

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

public UpdateDomainRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateDomainRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateDomainRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateDomainRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateDomainRequest.Builder setUpdateMask(FieldMask value)

Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field may only include fields from Domain:

  • labels
  • locations
  • authorized_networks

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateDomainRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateDomainRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field may only include fields from Domain:

  • labels
  • locations
  • authorized_networks

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateDomainRequest.Builder