public static final class Input.SecurityRule extends GeneratedMessageV3 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<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Input.SecurityRuleImplements
Input.SecurityRuleOrBuilderStatic Fields
IP_RANGES_FIELD_NUMBER
public static final int IP_RANGES_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static Input.SecurityRule getDefaultInstance()
Type | Description |
Input.SecurityRule |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static Input.SecurityRule.Builder newBuilder()
Type | Description |
Input.SecurityRule.Builder |
newBuilder(Input.SecurityRule prototype)
public static Input.SecurityRule.Builder newBuilder(Input.SecurityRule prototype)
Name | Description |
prototype | Input.SecurityRule |
Type | Description |
Input.SecurityRule.Builder |
parseDelimitedFrom(InputStream input)
public static Input.SecurityRule parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Input.SecurityRule |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Input.SecurityRule parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Input.SecurityRule |
Type | Description |
IOException |
parseFrom(byte[] data)
public static Input.SecurityRule parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
Input.SecurityRule |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Input.SecurityRule parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Input.SecurityRule |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static Input.SecurityRule parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
Input.SecurityRule |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Input.SecurityRule parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Input.SecurityRule |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static Input.SecurityRule parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
Input.SecurityRule |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Input.SecurityRule parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Input.SecurityRule |
Type | Description |
IOException |
parseFrom(InputStream input)
public static Input.SecurityRule parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Input.SecurityRule |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Input.SecurityRule parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Input.SecurityRule |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static Input.SecurityRule parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
Input.SecurityRule |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Input.SecurityRule parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Input.SecurityRule |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<Input.SecurityRule> parser()
Type | Description |
Parser<SecurityRule> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public Input.SecurityRule getDefaultInstanceForType()
Type | Description |
Input.SecurityRule |
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. |
getParserForType()
public Parser<Input.SecurityRule> getParserForType()
Type | Description |
Parser<SecurityRule> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public Input.SecurityRule.Builder newBuilderForType()
Type | Description |
Input.SecurityRule.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Input.SecurityRule.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
Input.SecurityRule.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public Input.SecurityRule.Builder toBuilder()
Type | Description |
Input.SecurityRule.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |