Class ResolveAppConnectionsResponse.AppConnectionDetails.Builder (0.45.0)

public static final class ResolveAppConnectionsResponse.AppConnectionDetails.Builder extends GeneratedMessageV3.Builder<ResolveAppConnectionsResponse.AppConnectionDetails.Builder> implements ResolveAppConnectionsResponse.AppConnectionDetailsOrBuilder

Details of the AppConnection.

Protobuf type google.cloud.beyondcorp.appconnections.v1.ResolveAppConnectionsResponse.AppConnectionDetails

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ResolveAppConnectionsResponse.AppConnectionDetails.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllRecentMigVms(Iterable<String> values)

public ResolveAppConnectionsResponse.AppConnectionDetails.Builder addAllRecentMigVms(Iterable<String> values)

If type=GCP_REGIONAL_MIG, contains most recent VM instances, like https://www.googleapis.com/compute/v1/projects/{project_id}/zones/{zone_id}/instances/{instance_id}.

repeated string recent_mig_vms = 2;

Parameter
Name Description
values Iterable<String>

The recentMigVms to add.

Returns
Type Description
ResolveAppConnectionsResponse.AppConnectionDetails.Builder

This builder for chaining.

addRecentMigVms(String value)

public ResolveAppConnectionsResponse.AppConnectionDetails.Builder addRecentMigVms(String value)

If type=GCP_REGIONAL_MIG, contains most recent VM instances, like https://www.googleapis.com/compute/v1/projects/{project_id}/zones/{zone_id}/instances/{instance_id}.

repeated string recent_mig_vms = 2;

Parameter
Name Description
value String

The recentMigVms to add.

Returns
Type Description
ResolveAppConnectionsResponse.AppConnectionDetails.Builder

This builder for chaining.

addRecentMigVmsBytes(ByteString value)

public ResolveAppConnectionsResponse.AppConnectionDetails.Builder addRecentMigVmsBytes(ByteString value)

If type=GCP_REGIONAL_MIG, contains most recent VM instances, like https://www.googleapis.com/compute/v1/projects/{project_id}/zones/{zone_id}/instances/{instance_id}.

repeated string recent_mig_vms = 2;

Parameter
Name Description
value ByteString

The bytes of the recentMigVms to add.

Returns
Type Description
ResolveAppConnectionsResponse.AppConnectionDetails.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ResolveAppConnectionsResponse.AppConnectionDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ResolveAppConnectionsResponse.AppConnectionDetails.Builder
Overrides

build()

public ResolveAppConnectionsResponse.AppConnectionDetails build()
Returns
Type Description
ResolveAppConnectionsResponse.AppConnectionDetails

buildPartial()

public ResolveAppConnectionsResponse.AppConnectionDetails buildPartial()
Returns
Type Description
ResolveAppConnectionsResponse.AppConnectionDetails

clear()

public ResolveAppConnectionsResponse.AppConnectionDetails.Builder clear()
Returns
Type Description
ResolveAppConnectionsResponse.AppConnectionDetails.Builder
Overrides

clearAppConnection()

public ResolveAppConnectionsResponse.AppConnectionDetails.Builder clearAppConnection()

A BeyondCorp AppConnection in the project.

.google.cloud.beyondcorp.appconnections.v1.AppConnection app_connection = 1;

Returns
Type Description
ResolveAppConnectionsResponse.AppConnectionDetails.Builder

clearField(Descriptors.FieldDescriptor field)

public ResolveAppConnectionsResponse.AppConnectionDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ResolveAppConnectionsResponse.AppConnectionDetails.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ResolveAppConnectionsResponse.AppConnectionDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ResolveAppConnectionsResponse.AppConnectionDetails.Builder
Overrides

clearRecentMigVms()

public ResolveAppConnectionsResponse.AppConnectionDetails.Builder clearRecentMigVms()

If type=GCP_REGIONAL_MIG, contains most recent VM instances, like https://www.googleapis.com/compute/v1/projects/{project_id}/zones/{zone_id}/instances/{instance_id}.

repeated string recent_mig_vms = 2;

Returns
Type Description
ResolveAppConnectionsResponse.AppConnectionDetails.Builder

This builder for chaining.

clone()

public ResolveAppConnectionsResponse.AppConnectionDetails.Builder clone()
Returns
Type Description
ResolveAppConnectionsResponse.AppConnectionDetails.Builder
Overrides

getAppConnection()

public AppConnection getAppConnection()

A BeyondCorp AppConnection in the project.

.google.cloud.beyondcorp.appconnections.v1.AppConnection app_connection = 1;

Returns
Type Description
AppConnection

The appConnection.

getAppConnectionBuilder()

public AppConnection.Builder getAppConnectionBuilder()

A BeyondCorp AppConnection in the project.

.google.cloud.beyondcorp.appconnections.v1.AppConnection app_connection = 1;

Returns
Type Description
AppConnection.Builder

getAppConnectionOrBuilder()

public AppConnectionOrBuilder getAppConnectionOrBuilder()

A BeyondCorp AppConnection in the project.

.google.cloud.beyondcorp.appconnections.v1.AppConnection app_connection = 1;

Returns
Type Description
AppConnectionOrBuilder

getDefaultInstanceForType()

public ResolveAppConnectionsResponse.AppConnectionDetails getDefaultInstanceForType()
Returns
Type Description
ResolveAppConnectionsResponse.AppConnectionDetails

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getRecentMigVms(int index)

public String getRecentMigVms(int index)

If type=GCP_REGIONAL_MIG, contains most recent VM instances, like https://www.googleapis.com/compute/v1/projects/{project_id}/zones/{zone_id}/instances/{instance_id}.

repeated string recent_mig_vms = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The recentMigVms at the given index.

getRecentMigVmsBytes(int index)

public ByteString getRecentMigVmsBytes(int index)

If type=GCP_REGIONAL_MIG, contains most recent VM instances, like https://www.googleapis.com/compute/v1/projects/{project_id}/zones/{zone_id}/instances/{instance_id}.

repeated string recent_mig_vms = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the recentMigVms at the given index.

getRecentMigVmsCount()

public int getRecentMigVmsCount()

If type=GCP_REGIONAL_MIG, contains most recent VM instances, like https://www.googleapis.com/compute/v1/projects/{project_id}/zones/{zone_id}/instances/{instance_id}.

repeated string recent_mig_vms = 2;

Returns
Type Description
int

The count of recentMigVms.

getRecentMigVmsList()

public ProtocolStringList getRecentMigVmsList()

If type=GCP_REGIONAL_MIG, contains most recent VM instances, like https://www.googleapis.com/compute/v1/projects/{project_id}/zones/{zone_id}/instances/{instance_id}.

repeated string recent_mig_vms = 2;

Returns
Type Description
ProtocolStringList

A list containing the recentMigVms.

hasAppConnection()

public boolean hasAppConnection()

A BeyondCorp AppConnection in the project.

.google.cloud.beyondcorp.appconnections.v1.AppConnection app_connection = 1;

Returns
Type Description
boolean

Whether the appConnection field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAppConnection(AppConnection value)

public ResolveAppConnectionsResponse.AppConnectionDetails.Builder mergeAppConnection(AppConnection value)

A BeyondCorp AppConnection in the project.

.google.cloud.beyondcorp.appconnections.v1.AppConnection app_connection = 1;

Parameter
Name Description
value AppConnection
Returns
Type Description
ResolveAppConnectionsResponse.AppConnectionDetails.Builder

mergeFrom(ResolveAppConnectionsResponse.AppConnectionDetails other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAppConnection(AppConnection value)

public ResolveAppConnectionsResponse.AppConnectionDetails.Builder setAppConnection(AppConnection value)

A BeyondCorp AppConnection in the project.

.google.cloud.beyondcorp.appconnections.v1.AppConnection app_connection = 1;

Parameter
Name Description
value AppConnection
Returns
Type Description
ResolveAppConnectionsResponse.AppConnectionDetails.Builder

setAppConnection(AppConnection.Builder builderForValue)

public ResolveAppConnectionsResponse.AppConnectionDetails.Builder setAppConnection(AppConnection.Builder builderForValue)

A BeyondCorp AppConnection in the project.

.google.cloud.beyondcorp.appconnections.v1.AppConnection app_connection = 1;

Parameter
Name Description
builderForValue AppConnection.Builder
Returns
Type Description
ResolveAppConnectionsResponse.AppConnectionDetails.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ResolveAppConnectionsResponse.AppConnectionDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ResolveAppConnectionsResponse.AppConnectionDetails.Builder
Overrides

setRecentMigVms(int index, String value)

public ResolveAppConnectionsResponse.AppConnectionDetails.Builder setRecentMigVms(int index, String value)

If type=GCP_REGIONAL_MIG, contains most recent VM instances, like https://www.googleapis.com/compute/v1/projects/{project_id}/zones/{zone_id}/instances/{instance_id}.

repeated string recent_mig_vms = 2;

Parameters
Name Description
index int

The index to set the value at.

value String

The recentMigVms to set.

Returns
Type Description
ResolveAppConnectionsResponse.AppConnectionDetails.Builder

This builder for chaining.

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

public ResolveAppConnectionsResponse.AppConnectionDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ResolveAppConnectionsResponse.AppConnectionDetails.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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