Class DeliverInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DeliverInfo.Builder>
com.google.cloud.networkmanagement.v1beta1.DeliverInfo.Builder
- All Implemented Interfaces:
DeliverInfoOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DeliverInfo
public static final class DeliverInfo.Builder
extends com.google.protobuf.GeneratedMessage.Builder<DeliverInfo.Builder>
implements DeliverInfoOrBuilder
Details of the final state "deliver" and associated resource.Protobuf type
google.cloud.networkmanagement.v1beta1.DeliverInfo-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Recognized type of a Google Service the packet is delivered to (if applicable).IP address of the target (if applicable).PSC Google API target the packet is delivered to (if applicable).URI of the resource that the packet is delivered to.Name of the Cloud Storage Bucket the packet is delivered to (if applicable).Target type where the packet is delivered to.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorRecognized type of a Google Service the packet is delivered to (if applicable).intRecognized type of a Google Service the packet is delivered to (if applicable).IP address of the target (if applicable).com.google.protobuf.ByteStringIP address of the target (if applicable).PSC Google API target the packet is delivered to (if applicable).com.google.protobuf.ByteStringPSC Google API target the packet is delivered to (if applicable).URI of the resource that the packet is delivered to.com.google.protobuf.ByteStringURI of the resource that the packet is delivered to.Name of the Cloud Storage Bucket the packet is delivered to (if applicable).com.google.protobuf.ByteStringName of the Cloud Storage Bucket the packet is delivered to (if applicable).Target type where the packet is delivered to.intTarget type where the packet is delivered to.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(DeliverInfo other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Recognized type of a Google Service the packet is delivered to (if applicable).setGoogleServiceTypeValue(int value) Recognized type of a Google Service the packet is delivered to (if applicable).setIpAddress(String value) IP address of the target (if applicable).setIpAddressBytes(com.google.protobuf.ByteString value) IP address of the target (if applicable).setPscGoogleApiTarget(String value) PSC Google API target the packet is delivered to (if applicable).setPscGoogleApiTargetBytes(com.google.protobuf.ByteString value) PSC Google API target the packet is delivered to (if applicable).setResourceUri(String value) URI of the resource that the packet is delivered to.setResourceUriBytes(com.google.protobuf.ByteString value) URI of the resource that the packet is delivered to.setStorageBucket(String value) Name of the Cloud Storage Bucket the packet is delivered to (if applicable).setStorageBucketBytes(com.google.protobuf.ByteString value) Name of the Cloud Storage Bucket the packet is delivered to (if applicable).setTarget(DeliverInfo.Target value) Target type where the packet is delivered to.setTargetValue(int value) Target type where the packet is delivered to.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<DeliverInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<DeliverInfo.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.GeneratedMessage.Builder<DeliverInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DeliverInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DeliverInfo.Builder>
-
mergeFrom
public DeliverInfo.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<DeliverInfo.Builder>- Throws:
IOException
-
getTargetValue
public int getTargetValue()Target type where the packet is delivered to.
.google.cloud.networkmanagement.v1beta1.DeliverInfo.Target target = 1;- Specified by:
getTargetValuein interfaceDeliverInfoOrBuilder- Returns:
- The enum numeric value on the wire for target.
-
setTargetValue
Target type where the packet is delivered to.
.google.cloud.networkmanagement.v1beta1.DeliverInfo.Target target = 1;- Parameters:
value- The enum numeric value on the wire for target to set.- Returns:
- This builder for chaining.
-
getTarget
Target type where the packet is delivered to.
.google.cloud.networkmanagement.v1beta1.DeliverInfo.Target target = 1;- Specified by:
getTargetin interfaceDeliverInfoOrBuilder- Returns:
- The target.
-
setTarget
Target type where the packet is delivered to.
.google.cloud.networkmanagement.v1beta1.DeliverInfo.Target target = 1;- Parameters:
value- The target to set.- Returns:
- This builder for chaining.
-
clearTarget
Target type where the packet is delivered to.
.google.cloud.networkmanagement.v1beta1.DeliverInfo.Target target = 1;- Returns:
- This builder for chaining.
-
getResourceUri
URI of the resource that the packet is delivered to.
string resource_uri = 2;- Specified by:
getResourceUriin interfaceDeliverInfoOrBuilder- Returns:
- The resourceUri.
-
getResourceUriBytes
public com.google.protobuf.ByteString getResourceUriBytes()URI of the resource that the packet is delivered to.
string resource_uri = 2;- Specified by:
getResourceUriBytesin interfaceDeliverInfoOrBuilder- Returns:
- The bytes for resourceUri.
-
setResourceUri
URI of the resource that the packet is delivered to.
string resource_uri = 2;- Parameters:
value- The resourceUri to set.- Returns:
- This builder for chaining.
-
clearResourceUri
URI of the resource that the packet is delivered to.
string resource_uri = 2;- Returns:
- This builder for chaining.
-
setResourceUriBytes
URI of the resource that the packet is delivered to.
string resource_uri = 2;- Parameters:
value- The bytes for resourceUri to set.- Returns:
- This builder for chaining.
-
getIpAddress
IP address of the target (if applicable).
string ip_address = 3 [(.google.api.field_info) = { ... }- Specified by:
getIpAddressin interfaceDeliverInfoOrBuilder- Returns:
- The ipAddress.
-
getIpAddressBytes
public com.google.protobuf.ByteString getIpAddressBytes()IP address of the target (if applicable).
string ip_address = 3 [(.google.api.field_info) = { ... }- Specified by:
getIpAddressBytesin interfaceDeliverInfoOrBuilder- Returns:
- The bytes for ipAddress.
-
setIpAddress
IP address of the target (if applicable).
string ip_address = 3 [(.google.api.field_info) = { ... }- Parameters:
value- The ipAddress to set.- Returns:
- This builder for chaining.
-
clearIpAddress
IP address of the target (if applicable).
string ip_address = 3 [(.google.api.field_info) = { ... }- Returns:
- This builder for chaining.
-
setIpAddressBytes
IP address of the target (if applicable).
string ip_address = 3 [(.google.api.field_info) = { ... }- Parameters:
value- The bytes for ipAddress to set.- Returns:
- This builder for chaining.
-
getStorageBucket
Name of the Cloud Storage Bucket the packet is delivered to (if applicable).
string storage_bucket = 4;- Specified by:
getStorageBucketin interfaceDeliverInfoOrBuilder- Returns:
- The storageBucket.
-
getStorageBucketBytes
public com.google.protobuf.ByteString getStorageBucketBytes()Name of the Cloud Storage Bucket the packet is delivered to (if applicable).
string storage_bucket = 4;- Specified by:
getStorageBucketBytesin interfaceDeliverInfoOrBuilder- Returns:
- The bytes for storageBucket.
-
setStorageBucket
Name of the Cloud Storage Bucket the packet is delivered to (if applicable).
string storage_bucket = 4;- Parameters:
value- The storageBucket to set.- Returns:
- This builder for chaining.
-
clearStorageBucket
Name of the Cloud Storage Bucket the packet is delivered to (if applicable).
string storage_bucket = 4;- Returns:
- This builder for chaining.
-
setStorageBucketBytes
Name of the Cloud Storage Bucket the packet is delivered to (if applicable).
string storage_bucket = 4;- Parameters:
value- The bytes for storageBucket to set.- Returns:
- This builder for chaining.
-
getPscGoogleApiTarget
PSC Google API target the packet is delivered to (if applicable).
string psc_google_api_target = 5;- Specified by:
getPscGoogleApiTargetin interfaceDeliverInfoOrBuilder- Returns:
- The pscGoogleApiTarget.
-
getPscGoogleApiTargetBytes
public com.google.protobuf.ByteString getPscGoogleApiTargetBytes()PSC Google API target the packet is delivered to (if applicable).
string psc_google_api_target = 5;- Specified by:
getPscGoogleApiTargetBytesin interfaceDeliverInfoOrBuilder- Returns:
- The bytes for pscGoogleApiTarget.
-
setPscGoogleApiTarget
PSC Google API target the packet is delivered to (if applicable).
string psc_google_api_target = 5;- Parameters:
value- The pscGoogleApiTarget to set.- Returns:
- This builder for chaining.
-
clearPscGoogleApiTarget
PSC Google API target the packet is delivered to (if applicable).
string psc_google_api_target = 5;- Returns:
- This builder for chaining.
-
setPscGoogleApiTargetBytes
PSC Google API target the packet is delivered to (if applicable).
string psc_google_api_target = 5;- Parameters:
value- The bytes for pscGoogleApiTarget to set.- Returns:
- This builder for chaining.
-
getGoogleServiceTypeValue
public int getGoogleServiceTypeValue()Recognized type of a Google Service the packet is delivered to (if applicable).
.google.cloud.networkmanagement.v1beta1.DeliverInfo.GoogleServiceType google_service_type = 6;- Specified by:
getGoogleServiceTypeValuein interfaceDeliverInfoOrBuilder- Returns:
- The enum numeric value on the wire for googleServiceType.
-
setGoogleServiceTypeValue
Recognized type of a Google Service the packet is delivered to (if applicable).
.google.cloud.networkmanagement.v1beta1.DeliverInfo.GoogleServiceType google_service_type = 6;- Parameters:
value- The enum numeric value on the wire for googleServiceType to set.- Returns:
- This builder for chaining.
-
getGoogleServiceType
Recognized type of a Google Service the packet is delivered to (if applicable).
.google.cloud.networkmanagement.v1beta1.DeliverInfo.GoogleServiceType google_service_type = 6;- Specified by:
getGoogleServiceTypein interfaceDeliverInfoOrBuilder- Returns:
- The googleServiceType.
-
setGoogleServiceType
Recognized type of a Google Service the packet is delivered to (if applicable).
.google.cloud.networkmanagement.v1beta1.DeliverInfo.GoogleServiceType google_service_type = 6;- Parameters:
value- The googleServiceType to set.- Returns:
- This builder for chaining.
-
clearGoogleServiceType
Recognized type of a Google Service the packet is delivered to (if applicable).
.google.cloud.networkmanagement.v1beta1.DeliverInfo.GoogleServiceType google_service_type = 6;- Returns:
- This builder for chaining.
-