@Generated(value="by GAPIC") @BetaApi public final class HostRule extends Object implements ApiMessage
Modifier and Type | Class and Description |
---|---|
static class |
HostRule.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
ApiMessage |
getApiMessageRequestBody() |
static HostRule |
getDefaultInstance() |
String |
getDescription()
An optional description of this resource.
|
List<String> |
getFieldMask() |
Object |
getFieldValue(String fieldName) |
List<String> |
getHostsList()
The list of host patterns to match.
|
String |
getPathMatcher()
The name of the PathMatcher to use to match the path portion of the URL if the hostRule matches
the URL's host portion.
|
int |
hashCode() |
static HostRule.Builder |
newBuilder() |
static HostRule.Builder |
newBuilder(HostRule prototype) |
HostRule.Builder |
toBuilder() |
String |
toString() |
public Object getFieldValue(String fieldName)
getFieldValue
in interface ApiMessage
@Nullable public ApiMessage getApiMessageRequestBody()
getApiMessageRequestBody
in interface ApiMessage
@Nullable public List<String> getFieldMask()
getFieldMask
in interface ApiMessage
public String getDescription()
public List<String> getHostsList()
public String getPathMatcher()
public static HostRule.Builder newBuilder()
public static HostRule.Builder newBuilder(HostRule prototype)
public HostRule.Builder toBuilder()
public static HostRule getDefaultInstance()
Copyright © 2019 Google LLC. All rights reserved.