Class Input.SecurityRule.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Input.SecurityRule.Builder>
com.google.cloud.video.livestream.v1.Input.SecurityRule.Builder
- All Implemented Interfaces:
Input.SecurityRuleOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Input.SecurityRule
public static final class Input.SecurityRule.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Input.SecurityRule.Builder>
implements Input.SecurityRuleOrBuilder
Security rules for access control. Each field represents one security rule. Only when the source of the input stream satisfies all the fields, this input stream can be accepted.Protobuf type
google.cloud.video.livestream.v1.Input.SecurityRule-
Method Summary
Modifier and TypeMethodDescriptionaddAllIpRanges(Iterable<String> values) At least one ip range must match unless none specified.addIpRanges(String value) At least one ip range must match unless none specified.addIpRangesBytes(com.google.protobuf.ByteString value) At least one ip range must match unless none specified.build()clear()At least one ip range must match unless none specified.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetIpRanges(int index) At least one ip range must match unless none specified.com.google.protobuf.ByteStringgetIpRangesBytes(int index) At least one ip range must match unless none specified.intAt least one ip range must match unless none specified.com.google.protobuf.ProtocolStringListAt least one ip range must match unless none specified.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(Input.SecurityRule other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setIpRanges(int index, String value) At least one ip range must match unless none specified.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<Input.SecurityRule.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<Input.SecurityRule.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<Input.SecurityRule.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<Input.SecurityRule.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Input.SecurityRule.Builder>
-
mergeFrom
public Input.SecurityRule.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<Input.SecurityRule.Builder>- Throws:
IOException
-
getIpRangesList
public com.google.protobuf.ProtocolStringList getIpRangesList()At least one ip range must match unless none specified. The IP range is defined by CIDR block: for example, `192.0.1.0/24` for a range and `192.0.1.0/32` for a single IP address.
repeated string ip_ranges = 1;- Specified by:
getIpRangesListin interfaceInput.SecurityRuleOrBuilder- Returns:
- A list containing the ipRanges.
-
getIpRangesCount
public int getIpRangesCount()At least one ip range must match unless none specified. The IP range is defined by CIDR block: for example, `192.0.1.0/24` for a range and `192.0.1.0/32` for a single IP address.
repeated string ip_ranges = 1;- Specified by:
getIpRangesCountin interfaceInput.SecurityRuleOrBuilder- Returns:
- The count of ipRanges.
-
getIpRanges
At least one ip range must match unless none specified. The IP range is defined by CIDR block: for example, `192.0.1.0/24` for a range and `192.0.1.0/32` for a single IP address.
repeated string ip_ranges = 1;- Specified by:
getIpRangesin interfaceInput.SecurityRuleOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The ipRanges at the given index.
-
getIpRangesBytes
public com.google.protobuf.ByteString getIpRangesBytes(int index) At least one ip range must match unless none specified. The IP range is defined by CIDR block: for example, `192.0.1.0/24` for a range and `192.0.1.0/32` for a single IP address.
repeated string ip_ranges = 1;- Specified by:
getIpRangesBytesin interfaceInput.SecurityRuleOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the ipRanges at the given index.
-
setIpRanges
At least one ip range must match unless none specified. The IP range is defined by CIDR block: for example, `192.0.1.0/24` for a range and `192.0.1.0/32` for a single IP address.
repeated string ip_ranges = 1;- Parameters:
index- The index to set the value at.value- The ipRanges to set.- Returns:
- This builder for chaining.
-
addIpRanges
At least one ip range must match unless none specified. The IP range is defined by CIDR block: for example, `192.0.1.0/24` for a range and `192.0.1.0/32` for a single IP address.
repeated string ip_ranges = 1;- Parameters:
value- The ipRanges to add.- Returns:
- This builder for chaining.
-
addAllIpRanges
At least one ip range must match unless none specified. The IP range is defined by CIDR block: for example, `192.0.1.0/24` for a range and `192.0.1.0/32` for a single IP address.
repeated string ip_ranges = 1;- Parameters:
values- The ipRanges to add.- Returns:
- This builder for chaining.
-
clearIpRanges
At least one ip range must match unless none specified. The IP range is defined by CIDR block: for example, `192.0.1.0/24` for a range and `192.0.1.0/32` for a single IP address.
repeated string ip_ranges = 1;- Returns:
- This builder for chaining.
-
addIpRangesBytes
At least one ip range must match unless none specified. The IP range is defined by CIDR block: for example, `192.0.1.0/24` for a range and `192.0.1.0/32` for a single IP address.
repeated string ip_ranges = 1;- Parameters:
value- The bytes of the ipRanges to add.- Returns:
- This builder for chaining.
-