- 0.55.0 (latest)
- 0.54.0
- 0.53.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.8
- 0.3.0
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Input.SecurityRule.BuilderImplements
Input.SecurityRuleOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllIpRanges(Iterable<String> values)
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;
Name | Description |
values | Iterable<String> The ipRanges to add. |
Type | Description |
Input.SecurityRule.Builder | This builder for chaining. |
addIpRanges(String value)
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;
Name | Description |
value | String The ipRanges to add. |
Type | Description |
Input.SecurityRule.Builder | This builder for chaining. |
addIpRangesBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes of the ipRanges to add. |
Type | Description |
Input.SecurityRule.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Input.SecurityRule.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Input.SecurityRule.Builder |
build()
public Input.SecurityRule build()
Type | Description |
Input.SecurityRule |
buildPartial()
public Input.SecurityRule buildPartial()
Type | Description |
Input.SecurityRule |
clear()
public Input.SecurityRule.Builder clear()
Type | Description |
Input.SecurityRule.Builder |
clearField(Descriptors.FieldDescriptor field)
public Input.SecurityRule.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Input.SecurityRule.Builder |
clearIpRanges()
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;
Type | Description |
Input.SecurityRule.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Input.SecurityRule.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Input.SecurityRule.Builder |
clone()
public Input.SecurityRule.Builder clone()
Type | Description |
Input.SecurityRule.Builder |
getDefaultInstanceForType()
public Input.SecurityRule getDefaultInstanceForType()
Type | Description |
Input.SecurityRule |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getIpRanges(int index)
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;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The ipRanges at the given index. |
getIpRangesBytes(int 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;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the ipRanges at the given index. |
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;
Type | Description |
int | The count of ipRanges. |
getIpRangesList()
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;
Type | Description |
ProtocolStringList | A list containing the ipRanges. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Input.SecurityRule other)
public Input.SecurityRule.Builder mergeFrom(Input.SecurityRule other)
Name | Description |
other | Input.SecurityRule |
Type | Description |
Input.SecurityRule.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Input.SecurityRule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Input.SecurityRule.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Input.SecurityRule.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Input.SecurityRule.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Input.SecurityRule.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Input.SecurityRule.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Input.SecurityRule.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Input.SecurityRule.Builder |
setIpRanges(int index, String value)
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;
Name | Description |
index | int The index to set the value at. |
value | String The ipRanges to set. |
Type | Description |
Input.SecurityRule.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Input.SecurityRule.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Input.SecurityRule.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Input.SecurityRule.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Input.SecurityRule.Builder |