Class ResolveAppConnectionsResponse.AppConnectionDetails.Builder (0.13.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
TypeDescription
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
NameDescription
valuesIterable<String>

The recentMigVms to add.

Returns
TypeDescription
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
NameDescription
valueString

The recentMigVms to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the recentMigVms to add.

Returns
TypeDescription
ResolveAppConnectionsResponse.AppConnectionDetails.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ResolveAppConnectionsResponse.AppConnectionDetails build()
Returns
TypeDescription
ResolveAppConnectionsResponse.AppConnectionDetails

buildPartial()

public ResolveAppConnectionsResponse.AppConnectionDetails buildPartial()
Returns
TypeDescription
ResolveAppConnectionsResponse.AppConnectionDetails

clear()

public ResolveAppConnectionsResponse.AppConnectionDetails.Builder clear()
Returns
TypeDescription
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
TypeDescription
ResolveAppConnectionsResponse.AppConnectionDetails.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ResolveAppConnectionsResponse.AppConnectionDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ResolveAppConnectionsResponse.AppConnectionDetails.Builder

This builder for chaining.

clone()

public ResolveAppConnectionsResponse.AppConnectionDetails.Builder clone()
Returns
TypeDescription
ResolveAppConnectionsResponse.AppConnectionDetails.Builder
Overrides

getAppConnection()

public AppConnection getAppConnection()

A BeyondCorp AppConnection in the project.

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

Returns
TypeDescription
AppConnection

The appConnection.

getAppConnectionBuilder()

public AppConnection.Builder getAppConnectionBuilder()

A BeyondCorp AppConnection in the project.

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

Returns
TypeDescription
AppConnection.Builder

getAppConnectionOrBuilder()

public AppConnectionOrBuilder getAppConnectionOrBuilder()

A BeyondCorp AppConnection in the project.

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

Returns
TypeDescription
AppConnectionOrBuilder

getDefaultInstanceForType()

public ResolveAppConnectionsResponse.AppConnectionDetails getDefaultInstanceForType()
Returns
TypeDescription
ResolveAppConnectionsResponse.AppConnectionDetails

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the appConnection field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueAppConnection
Returns
TypeDescription
ResolveAppConnectionsResponse.AppConnectionDetails.Builder

mergeFrom(ResolveAppConnectionsResponse.AppConnectionDetails other)

public ResolveAppConnectionsResponse.AppConnectionDetails.Builder mergeFrom(ResolveAppConnectionsResponse.AppConnectionDetails other)
Parameter
NameDescription
otherResolveAppConnectionsResponse.AppConnectionDetails
Returns
TypeDescription
ResolveAppConnectionsResponse.AppConnectionDetails.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ResolveAppConnectionsResponse.AppConnectionDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueAppConnection
Returns
TypeDescription
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
NameDescription
builderForValueAppConnection.Builder
Returns
TypeDescription
ResolveAppConnectionsResponse.AppConnectionDetails.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ResolveAppConnectionsResponse.AppConnectionDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The recentMigVms to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ResolveAppConnectionsResponse.AppConnectionDetails.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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