Class ReconfigureTrustRequest.Builder (1.44.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
Type Description
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
Name Description
values Iterable<String>

The targetDnsIpAddresses to add.

Returns
Type Description
ReconfigureTrustRequest.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ReconfigureTrustRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The targetDnsIpAddresses to add.

Returns
Type Description
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
Name Description
value ByteString

The bytes of the targetDnsIpAddresses to add.

Returns
Type Description
ReconfigureTrustRequest.Builder

This builder for chaining.

build()

public ReconfigureTrustRequest build()
Returns
Type Description
ReconfigureTrustRequest

buildPartial()

public ReconfigureTrustRequest buildPartial()
Returns
Type Description
ReconfigureTrustRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ReconfigureTrustRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
ReconfigureTrustRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ReconfigureTrustRequest getDefaultInstanceForType()
Returns
Type Description
ReconfigureTrustRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for targetDomainName.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ReconfigureTrustRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReconfigureTrustRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ReconfigureTrustRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ReconfigureTrustRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The name to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
index int

The index to set the value at.

value String

The targetDnsIpAddresses to set.

Returns
Type Description
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
Name Description
value String

The targetDomainName to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for targetDomainName to set.

Returns
Type Description
ReconfigureTrustRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ReconfigureTrustRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ReconfigureTrustRequest.Builder
Overrides