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.BuilderaddAllRecentMigVms(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.BuilderaddRecentMigVms(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.BuilderaddRecentMigVmsBytes(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.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ResolveAppConnectionsResponse.AppConnectionDetailsbuild()ResolveAppConnectionsResponse.AppConnectionDetailsbuildPartial()ResolveAppConnectionsResponse.AppConnectionDetails.Builderclear()ResolveAppConnectionsResponse.AppConnectionDetails.BuilderclearAppConnection()A BeyondCorp AppConnection in the project.ResolveAppConnectionsResponse.AppConnectionDetails.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ResolveAppConnectionsResponse.AppConnectionDetails.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ResolveAppConnectionsResponse.AppConnectionDetails.BuilderclearRecentMigVms()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.Builderclone()AppConnectiongetAppConnection()A BeyondCorp AppConnection in the project.AppConnection.BuildergetAppConnectionBuilder()A BeyondCorp AppConnection in the project.AppConnectionOrBuildergetAppConnectionOrBuilder()A BeyondCorp AppConnection in the project.ResolveAppConnectionsResponse.AppConnectionDetailsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetRecentMigVms(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.ByteStringgetRecentMigVmsBytes(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}`.intgetRecentMigVmsCount()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.ProtocolStringListgetRecentMigVmsList()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}`.booleanhasAppConnection()A BeyondCorp AppConnection in the project.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ResolveAppConnectionsResponse.AppConnectionDetails.BuildermergeAppConnection(AppConnection value)A BeyondCorp AppConnection in the project.ResolveAppConnectionsResponse.AppConnectionDetails.BuildermergeFrom(ResolveAppConnectionsResponse.AppConnectionDetails other)ResolveAppConnectionsResponse.AppConnectionDetails.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ResolveAppConnectionsResponse.AppConnectionDetails.BuildermergeFrom(com.google.protobuf.Message other)ResolveAppConnectionsResponse.AppConnectionDetails.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ResolveAppConnectionsResponse.AppConnectionDetails.BuildersetAppConnection(AppConnection value)A BeyondCorp AppConnection in the project.ResolveAppConnectionsResponse.AppConnectionDetails.BuildersetAppConnection(AppConnection.Builder builderForValue)A BeyondCorp AppConnection in the project.ResolveAppConnectionsResponse.AppConnectionDetails.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ResolveAppConnectionsResponse.AppConnectionDetails.BuildersetRecentMigVms(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.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ResolveAppConnectionsResponse.AppConnectionDetails.BuildersetUnknownFields(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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ResolveAppConnectionsResponse.AppConnectionDetails.Builder>
-
clear
public ResolveAppConnectionsResponse.AppConnectionDetails.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ResolveAppConnectionsResponse.AppConnectionDetails.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ResolveAppConnectionsResponse.AppConnectionDetails.Builder>
-
getDefaultInstanceForType
public ResolveAppConnectionsResponse.AppConnectionDetails getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ResolveAppConnectionsResponse.AppConnectionDetails build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ResolveAppConnectionsResponse.AppConnectionDetails buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ResolveAppConnectionsResponse.AppConnectionDetails.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ResolveAppConnectionsResponse.AppConnectionDetails.Builder>
-
setField
public ResolveAppConnectionsResponse.AppConnectionDetails.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ResolveAppConnectionsResponse.AppConnectionDetails.Builder>
-
clearField
public ResolveAppConnectionsResponse.AppConnectionDetails.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ResolveAppConnectionsResponse.AppConnectionDetails.Builder>
-
clearOneof
public ResolveAppConnectionsResponse.AppConnectionDetails.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin 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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ResolveAppConnectionsResponse.AppConnectionDetails.Builder>
-
addRepeatedField
public ResolveAppConnectionsResponse.AppConnectionDetails.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ResolveAppConnectionsResponse.AppConnectionDetails.Builder>
-
mergeFrom
public ResolveAppConnectionsResponse.AppConnectionDetails.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ResolveAppConnectionsResponse.AppConnectionDetails.Builder>
-
mergeFrom
public ResolveAppConnectionsResponse.AppConnectionDetails.Builder mergeFrom(ResolveAppConnectionsResponse.AppConnectionDetails other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
hasAppConnectionin 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:
getAppConnectionin 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:
getAppConnectionOrBuilderin 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:
getRecentMigVmsListin 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:
getRecentMigVmsCountin 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:
getRecentMigVmsin 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:
getRecentMigVmsBytesin 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ResolveAppConnectionsResponse.AppConnectionDetails.Builder>
-
mergeUnknownFields
public final ResolveAppConnectionsResponse.AppConnectionDetails.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ResolveAppConnectionsResponse.AppConnectionDetails.Builder>
-
-