Class GetDomainRequest.Builder (1.20.0)

public static final class GetDomainRequest.Builder extends GeneratedMessageV3.Builder<GetDomainRequest.Builder> implements GetDomainRequestOrBuilder

Request message for GetDomain

Protobuf type google.cloud.managedidentities.v1.GetDomainRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetDomainRequest build()
Returns
TypeDescription
GetDomainRequest

buildPartial()

public GetDomainRequest buildPartial()
Returns
TypeDescription
GetDomainRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetDomainRequest.Builder clearName()

Required. The domain resource name using the form: projects/{project_id}/locations/global/domains/{domain_name}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
GetDomainRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetDomainRequest getDefaultInstanceForType()
Returns
TypeDescription
GetDomainRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. The domain resource name using the form: projects/{project_id}/locations/global/domains/{domain_name}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The domain resource name using the form: projects/{project_id}/locations/global/domains/{domain_name}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetDomainRequest other)

public GetDomainRequest.Builder mergeFrom(GetDomainRequest other)
Parameter
NameDescription
otherGetDomainRequest
Returns
TypeDescription
GetDomainRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetDomainRequest.Builder setName(String value)

Required. The domain resource name using the form: projects/{project_id}/locations/global/domains/{domain_name}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
GetDomainRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetDomainRequest.Builder setNameBytes(ByteString value)

Required. The domain resource name using the form: projects/{project_id}/locations/global/domains/{domain_name}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
GetDomainRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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