Class AttachTrustRequest (0.3.7)

public final class AttachTrustRequest extends GeneratedMessageV3 implements AttachTrustRequestOrBuilder

Request message for AttachTrust

Protobuf type google.cloud.managedidentities.v1.AttachTrustRequest

Fields

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

TRUST_FIELD_NUMBER

public static final int TRUST_FIELD_NUMBER
Field Value
TypeDescription
int

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstance()

public static AttachTrustRequest getDefaultInstance()
Returns
TypeDescription
AttachTrustRequest

getDefaultInstanceForType()

public AttachTrustRequest getDefaultInstanceForType()
Returns
TypeDescription
AttachTrustRequest

getDescriptor()

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

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.

getParserForType()

public Parser<AttachTrustRequest> getParserForType()
Returns
TypeDescription
Parser<AttachTrustRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTrust()

public Trust getTrust()

Required. The domain trust resource.

.google.cloud.managedidentities.v1.Trust trust = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Trust

The trust.

getTrustOrBuilder()

public TrustOrBuilder getTrustOrBuilder()

Required. The domain trust resource.

.google.cloud.managedidentities.v1.Trust trust = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
TrustOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasTrust()

public boolean hasTrust()

Required. The domain trust resource.

.google.cloud.managedidentities.v1.Trust trust = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the trust field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilder()

public static AttachTrustRequest.Builder newBuilder()
Returns
TypeDescription
AttachTrustRequest.Builder

newBuilder(AttachTrustRequest prototype)

public static AttachTrustRequest.Builder newBuilder(AttachTrustRequest prototype)
Parameter
NameDescription
prototypeAttachTrustRequest
Returns
TypeDescription
AttachTrustRequest.Builder

newBuilderForType()

public AttachTrustRequest.Builder newBuilderForType()
Returns
TypeDescription
AttachTrustRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AttachTrustRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AttachTrustRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

parseDelimitedFrom(InputStream input)

public static AttachTrustRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AttachTrustRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AttachTrustRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AttachTrustRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AttachTrustRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AttachTrustRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AttachTrustRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AttachTrustRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AttachTrustRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AttachTrustRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AttachTrustRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AttachTrustRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AttachTrustRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AttachTrustRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AttachTrustRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AttachTrustRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AttachTrustRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AttachTrustRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AttachTrustRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AttachTrustRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AttachTrustRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AttachTrustRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AttachTrustRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AttachTrustRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AttachTrustRequest> parser()
Returns
TypeDescription
Parser<AttachTrustRequest>

toBuilder()

public AttachTrustRequest.Builder toBuilder()
Returns
TypeDescription
AttachTrustRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException