Class ResolveAppConnectionsResponse.AppConnectionDetails.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ResolveAppConnectionsResponse.AppConnectionDetails.Builder>
-
- com.google.cloud.beyondcorp.appconnections.v1.ResolveAppConnectionsResponse.AppConnectionDetails.Builder
-
- All Implemented Interfaces:
ResolveAppConnectionsResponse.AppConnectionDetailsOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ResolveAppConnectionsResponse.AppConnectionDetails
public static final class ResolveAppConnectionsResponse.AppConnectionDetails.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ResolveAppConnectionsResponse.AppConnectionDetails.Builder> implements ResolveAppConnectionsResponse.AppConnectionDetailsOrBuilder
Details of the AppConnection.
Protobuf typegoogle.cloud.beyondcorp.appconnections.v1.ResolveAppConnectionsResponse.AppConnectionDetails
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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}`.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}`.ResolveAppConnectionsResponse.AppConnectionDetails.Builder
addRecentMigVmsBytes(com.google.protobuf.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}`.ResolveAppConnectionsResponse.AppConnectionDetails.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ResolveAppConnectionsResponse.AppConnectionDetails
build()
ResolveAppConnectionsResponse.AppConnectionDetails
buildPartial()
ResolveAppConnectionsResponse.AppConnectionDetails.Builder
clear()
ResolveAppConnectionsResponse.AppConnectionDetails.Builder
clearAppConnection()
A BeyondCorp AppConnection in the project.ResolveAppConnectionsResponse.AppConnectionDetails.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ResolveAppConnectionsResponse.AppConnectionDetails.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
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}`.ResolveAppConnectionsResponse.AppConnectionDetails.Builder
clone()
AppConnection
getAppConnection()
A BeyondCorp AppConnection in the project.AppConnection.Builder
getAppConnectionBuilder()
A BeyondCorp AppConnection in the project.AppConnectionOrBuilder
getAppConnectionOrBuilder()
A BeyondCorp AppConnection in the project.ResolveAppConnectionsResponse.AppConnectionDetails
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
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}`.com.google.protobuf.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}`.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}`.com.google.protobuf.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}`.boolean
hasAppConnection()
A BeyondCorp AppConnection in the project.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ResolveAppConnectionsResponse.AppConnectionDetails.Builder
mergeAppConnection(AppConnection value)
A BeyondCorp AppConnection in the project.ResolveAppConnectionsResponse.AppConnectionDetails.Builder
mergeFrom(ResolveAppConnectionsResponse.AppConnectionDetails other)
ResolveAppConnectionsResponse.AppConnectionDetails.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ResolveAppConnectionsResponse.AppConnectionDetails.Builder
mergeFrom(com.google.protobuf.Message other)
ResolveAppConnectionsResponse.AppConnectionDetails.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ResolveAppConnectionsResponse.AppConnectionDetails.Builder
setAppConnection(AppConnection value)
A BeyondCorp AppConnection in the project.ResolveAppConnectionsResponse.AppConnectionDetails.Builder
setAppConnection(AppConnection.Builder builderForValue)
A BeyondCorp AppConnection in the project.ResolveAppConnectionsResponse.AppConnectionDetails.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
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}`.ResolveAppConnectionsResponse.AppConnectionDetails.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ResolveAppConnectionsResponse.AppConnectionDetails.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ResolveAppConnectionsResponse.AppConnectionDetails.Builder>
-
clear
public ResolveAppConnectionsResponse.AppConnectionDetails.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ResolveAppConnectionsResponse.AppConnectionDetails.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ResolveAppConnectionsResponse.AppConnectionDetails.Builder>
-
getDefaultInstanceForType
public ResolveAppConnectionsResponse.AppConnectionDetails getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ResolveAppConnectionsResponse.AppConnectionDetails build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ResolveAppConnectionsResponse.AppConnectionDetails buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ResolveAppConnectionsResponse.AppConnectionDetails.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ResolveAppConnectionsResponse.AppConnectionDetails.Builder>
-
setField
public ResolveAppConnectionsResponse.AppConnectionDetails.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ResolveAppConnectionsResponse.AppConnectionDetails.Builder>
-
clearField
public ResolveAppConnectionsResponse.AppConnectionDetails.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ResolveAppConnectionsResponse.AppConnectionDetails.Builder>
-
clearOneof
public ResolveAppConnectionsResponse.AppConnectionDetails.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ResolveAppConnectionsResponse.AppConnectionDetails.Builder>
-
setRepeatedField
public ResolveAppConnectionsResponse.AppConnectionDetails.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ResolveAppConnectionsResponse.AppConnectionDetails.Builder>
-
addRepeatedField
public ResolveAppConnectionsResponse.AppConnectionDetails.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ResolveAppConnectionsResponse.AppConnectionDetails.Builder>
-
mergeFrom
public ResolveAppConnectionsResponse.AppConnectionDetails.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ResolveAppConnectionsResponse.AppConnectionDetails.Builder>
-
mergeFrom
public ResolveAppConnectionsResponse.AppConnectionDetails.Builder mergeFrom(ResolveAppConnectionsResponse.AppConnectionDetails other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ResolveAppConnectionsResponse.AppConnectionDetails.Builder>
-
mergeFrom
public ResolveAppConnectionsResponse.AppConnectionDetails.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ResolveAppConnectionsResponse.AppConnectionDetails.Builder>
- Throws:
IOException
-
hasAppConnection
public boolean hasAppConnection()
A BeyondCorp AppConnection in the project.
.google.cloud.beyondcorp.appconnections.v1.AppConnection app_connection = 1;
- Specified by:
hasAppConnection
in interfaceResolveAppConnectionsResponse.AppConnectionDetailsOrBuilder
- Returns:
- Whether the appConnection field is set.
-
getAppConnection
public AppConnection getAppConnection()
A BeyondCorp AppConnection in the project.
.google.cloud.beyondcorp.appconnections.v1.AppConnection app_connection = 1;
- Specified by:
getAppConnection
in interfaceResolveAppConnectionsResponse.AppConnectionDetailsOrBuilder
- Returns:
- The appConnection.
-
setAppConnection
public ResolveAppConnectionsResponse.AppConnectionDetails.Builder setAppConnection(AppConnection value)
A BeyondCorp AppConnection in the project.
.google.cloud.beyondcorp.appconnections.v1.AppConnection app_connection = 1;
-
setAppConnection
public ResolveAppConnectionsResponse.AppConnectionDetails.Builder setAppConnection(AppConnection.Builder builderForValue)
A BeyondCorp AppConnection in the project.
.google.cloud.beyondcorp.appconnections.v1.AppConnection app_connection = 1;
-
mergeAppConnection
public ResolveAppConnectionsResponse.AppConnectionDetails.Builder mergeAppConnection(AppConnection value)
A BeyondCorp AppConnection in the project.
.google.cloud.beyondcorp.appconnections.v1.AppConnection app_connection = 1;
-
clearAppConnection
public ResolveAppConnectionsResponse.AppConnectionDetails.Builder clearAppConnection()
A BeyondCorp AppConnection in the project.
.google.cloud.beyondcorp.appconnections.v1.AppConnection app_connection = 1;
-
getAppConnectionBuilder
public AppConnection.Builder getAppConnectionBuilder()
A BeyondCorp AppConnection in the project.
.google.cloud.beyondcorp.appconnections.v1.AppConnection app_connection = 1;
-
getAppConnectionOrBuilder
public AppConnectionOrBuilder getAppConnectionOrBuilder()
A BeyondCorp AppConnection in the project.
.google.cloud.beyondcorp.appconnections.v1.AppConnection app_connection = 1;
- Specified by:
getAppConnectionOrBuilder
in interfaceResolveAppConnectionsResponse.AppConnectionDetailsOrBuilder
-
getRecentMigVmsList
public com.google.protobuf.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;
- Specified by:
getRecentMigVmsList
in interfaceResolveAppConnectionsResponse.AppConnectionDetailsOrBuilder
- Returns:
- A list containing the recentMigVms.
-
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;
- Specified by:
getRecentMigVmsCount
in interfaceResolveAppConnectionsResponse.AppConnectionDetailsOrBuilder
- Returns:
- The count of recentMigVms.
-
getRecentMigVms
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;
- Specified by:
getRecentMigVms
in interfaceResolveAppConnectionsResponse.AppConnectionDetailsOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The recentMigVms at the given index.
-
getRecentMigVmsBytes
public com.google.protobuf.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;
- Specified by:
getRecentMigVmsBytes
in interfaceResolveAppConnectionsResponse.AppConnectionDetailsOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the recentMigVms at the given index.
-
setRecentMigVms
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:
index
- The index to set the value at.value
- The recentMigVms to set.- Returns:
- This builder for chaining.
-
addRecentMigVms
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;
- Parameters:
value
- The recentMigVms to add.- Returns:
- This builder for chaining.
-
addAllRecentMigVms
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;
- Parameters:
values
- The recentMigVms to add.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
addRecentMigVmsBytes
public ResolveAppConnectionsResponse.AppConnectionDetails.Builder addRecentMigVmsBytes(com.google.protobuf.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;
- Parameters:
value
- The bytes of the recentMigVms to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ResolveAppConnectionsResponse.AppConnectionDetails.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ResolveAppConnectionsResponse.AppConnectionDetails.Builder>
-
mergeUnknownFields
public final ResolveAppConnectionsResponse.AppConnectionDetails.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ResolveAppConnectionsResponse.AppConnectionDetails.Builder>
-
-