Class ReconfigureTrustRequest.Builder (1.6.0)

public static final class ReconfigureTrustRequest.Builder extends GeneratedMessageV3.Builder<ReconfigureTrustRequest.Builder> implements ReconfigureTrustRequestOrBuilder

Request message for ReconfigureTrust

Protobuf type google.cloud.managedidentities.v1.ReconfigureTrustRequest

Static Methods

getDescriptor()

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

Methods

addAllTargetDnsIpAddresses(Iterable<String> values)

public ReconfigureTrustRequest.Builder addAllTargetDnsIpAddresses(Iterable<String> values)

Required. The target DNS server IP addresses to resolve the remote domain involved in the trust.

repeated string target_dns_ip_addresses = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valuesIterable<String>

The targetDnsIpAddresses to add.

Returns
TypeDescription
ReconfigureTrustRequest.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addTargetDnsIpAddresses(String value)

public ReconfigureTrustRequest.Builder addTargetDnsIpAddresses(String value)

Required. The target DNS server IP addresses to resolve the remote domain involved in the trust.

repeated string target_dns_ip_addresses = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The targetDnsIpAddresses to add.

Returns
TypeDescription
ReconfigureTrustRequest.Builder

This builder for chaining.

addTargetDnsIpAddressesBytes(ByteString value)

public ReconfigureTrustRequest.Builder addTargetDnsIpAddressesBytes(ByteString value)

Required. The target DNS server IP addresses to resolve the remote domain involved in the trust.

repeated string target_dns_ip_addresses = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes of the targetDnsIpAddresses to add.

Returns
TypeDescription
ReconfigureTrustRequest.Builder

This builder for chaining.

build()

public ReconfigureTrustRequest build()
Returns
TypeDescription
ReconfigureTrustRequest

buildPartial()

public ReconfigureTrustRequest buildPartial()
Returns
TypeDescription
ReconfigureTrustRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public ReconfigureTrustRequest.Builder clearName()

Required. The resource domain name, project name and location 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
ReconfigureTrustRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTargetDnsIpAddresses()

public ReconfigureTrustRequest.Builder clearTargetDnsIpAddresses()

Required. The target DNS server IP addresses to resolve the remote domain involved in the trust.

repeated string target_dns_ip_addresses = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ReconfigureTrustRequest.Builder

This builder for chaining.

clearTargetDomainName()

public ReconfigureTrustRequest.Builder clearTargetDomainName()

Required. The fully-qualified target domain name which will be in trust with current domain.

string target_domain_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ReconfigureTrustRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ReconfigureTrustRequest getDefaultInstanceForType()
Returns
TypeDescription
ReconfigureTrustRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. The resource domain name, project name and location 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 resource domain name, project name and location 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.

getTargetDnsIpAddresses(int index)

public String getTargetDnsIpAddresses(int index)

Required. The target DNS server IP addresses to resolve the remote domain involved in the trust.

repeated string target_dns_ip_addresses = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The targetDnsIpAddresses at the given index.

getTargetDnsIpAddressesBytes(int index)

public ByteString getTargetDnsIpAddressesBytes(int index)

Required. The target DNS server IP addresses to resolve the remote domain involved in the trust.

repeated string target_dns_ip_addresses = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the targetDnsIpAddresses at the given index.

getTargetDnsIpAddressesCount()

public int getTargetDnsIpAddressesCount()

Required. The target DNS server IP addresses to resolve the remote domain involved in the trust.

repeated string target_dns_ip_addresses = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The count of targetDnsIpAddresses.

getTargetDnsIpAddressesList()

public ProtocolStringList getTargetDnsIpAddressesList()

Required. The target DNS server IP addresses to resolve the remote domain involved in the trust.

repeated string target_dns_ip_addresses = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ProtocolStringList

A list containing the targetDnsIpAddresses.

getTargetDomainName()

public String getTargetDomainName()

Required. The fully-qualified target domain name which will be in trust with current domain.

string target_domain_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The targetDomainName.

getTargetDomainNameBytes()

public ByteString getTargetDomainNameBytes()

Required. The fully-qualified target domain name which will be in trust with current domain.

string target_domain_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for targetDomainName.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ReconfigureTrustRequest other)

public ReconfigureTrustRequest.Builder mergeFrom(ReconfigureTrustRequest other)
Parameter
NameDescription
otherReconfigureTrustRequest
Returns
TypeDescription
ReconfigureTrustRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public ReconfigureTrustRequest.Builder setName(String value)

Required. The resource domain name, project name and location 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
ReconfigureTrustRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ReconfigureTrustRequest.Builder setNameBytes(ByteString value)

Required. The resource domain name, project name and location 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
ReconfigureTrustRequest.Builder

This builder for chaining.

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

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

setTargetDnsIpAddresses(int index, String value)

public ReconfigureTrustRequest.Builder setTargetDnsIpAddresses(int index, String value)

Required. The target DNS server IP addresses to resolve the remote domain involved in the trust.

repeated string target_dns_ip_addresses = 3 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The targetDnsIpAddresses to set.

Returns
TypeDescription
ReconfigureTrustRequest.Builder

This builder for chaining.

setTargetDomainName(String value)

public ReconfigureTrustRequest.Builder setTargetDomainName(String value)

Required. The fully-qualified target domain name which will be in trust with current domain.

string target_domain_name = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The targetDomainName to set.

Returns
TypeDescription
ReconfigureTrustRequest.Builder

This builder for chaining.

setTargetDomainNameBytes(ByteString value)

public ReconfigureTrustRequest.Builder setTargetDomainNameBytes(ByteString value)

Required. The fully-qualified target domain name which will be in trust with current domain.

string target_domain_name = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for targetDomainName to set.

Returns
TypeDescription
ReconfigureTrustRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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