public static final class Input.SecurityRule.Builder extends GeneratedMessageV3.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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public Input.SecurityRule.Builder addAllIpRanges(Iterable<String> values)
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;
Parameter |
Name |
Description |
values |
Iterable<String>
The ipRanges to add.
|
public Input.SecurityRule.Builder addIpRanges(String value)
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;
Parameter |
Name |
Description |
value |
String
The ipRanges to add.
|
public Input.SecurityRule.Builder addIpRangesBytes(ByteString value)
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;
Parameter |
Name |
Description |
value |
ByteString
The bytes of the ipRanges to add.
|
public Input.SecurityRule.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public Input.SecurityRule build()
public Input.SecurityRule buildPartial()
public Input.SecurityRule.Builder clear()
Overrides
public Input.SecurityRule.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public Input.SecurityRule.Builder 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;
public Input.SecurityRule.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public Input.SecurityRule.Builder clone()
Overrides
public Input.SecurityRule getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public String getIpRanges(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;
Parameter |
Name |
Description |
index |
int
The index of the element to return.
|
Returns |
Type |
Description |
String |
The ipRanges at the given index.
|
public 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;
Parameter |
Name |
Description |
index |
int
The index of the value to return.
|
Returns |
Type |
Description |
ByteString |
The bytes of the ipRanges at the given index.
|
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;
Returns |
Type |
Description |
int |
The count of ipRanges.
|
public 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;
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public Input.SecurityRule.Builder mergeFrom(Input.SecurityRule other)
public Input.SecurityRule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public Input.SecurityRule.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final Input.SecurityRule.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public Input.SecurityRule.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public Input.SecurityRule.Builder setIpRanges(int index, String value)
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 |
Name |
Description |
index |
int
The index to set the value at.
|
value |
String
The ipRanges to set.
|
public Input.SecurityRule.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final Input.SecurityRule.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides