Class GetAppConnectionRequest.Builder (0.20.0)

public static final class GetAppConnectionRequest.Builder extends GeneratedMessageV3.Builder<GetAppConnectionRequest.Builder> implements GetAppConnectionRequestOrBuilder

Request message for BeyondCorp.GetAppConnection.

Protobuf type google.cloud.beyondcorp.appconnections.v1.GetAppConnectionRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetAppConnectionRequest build()
Returns
TypeDescription
GetAppConnectionRequest

buildPartial()

public GetAppConnectionRequest buildPartial()
Returns
TypeDescription
GetAppConnectionRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetAppConnectionRequest.Builder clearName()

Required. BeyondCorp AppConnection name using the form: projects/{project_id}/locations/{location_id}/appConnections/{app_connection_id}

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

Returns
TypeDescription
GetAppConnectionRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetAppConnectionRequest getDefaultInstanceForType()
Returns
TypeDescription
GetAppConnectionRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. BeyondCorp AppConnection name using the form: projects/{project_id}/locations/{location_id}/appConnections/{app_connection_id}

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. BeyondCorp AppConnection name using the form: projects/{project_id}/locations/{location_id}/appConnections/{app_connection_id}

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(GetAppConnectionRequest other)

public GetAppConnectionRequest.Builder mergeFrom(GetAppConnectionRequest other)
Parameter
NameDescription
otherGetAppConnectionRequest
Returns
TypeDescription
GetAppConnectionRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetAppConnectionRequest.Builder setName(String value)

Required. BeyondCorp AppConnection name using the form: projects/{project_id}/locations/{location_id}/appConnections/{app_connection_id}

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
GetAppConnectionRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetAppConnectionRequest.Builder setNameBytes(ByteString value)

Required. BeyondCorp AppConnection name using the form: projects/{project_id}/locations/{location_id}/appConnections/{app_connection_id}

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
GetAppConnectionRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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